calExpressionCorrelation.Rd
Calculate association with the reference
calExpressionCorrelation(
spe,
sce_ref,
ref_celltype = NULL,
method = c("pearson"),
spe_exprs_values = "logcounts",
ref_exprs_values = "mean"
)
A SpatialExperiment object
A SingleCellExperiment object for the reference data
A vector with length of the sample indicating the cell type label.
method to compute similarity or distance ("pearson" or "cosine"). Default is set to "pearson".
A string indicating which assay of `spe` contains the expression values. Default is set to "logcounts".
A string indicating which assay of `sce_ref` contains the expression values. Default is set to "mean".
A SpatialExperiment object