calAggExpressionCorrelation.Rd
Calculate association with the reference for the aggregated profile
calAggExpressionCorrelation(
spe,
celltype,
sce_ref,
ref_celltype = NULL,
method = c("pearson"),
spe_exprs_values = "logcounts",
ref_exprs_values = "mean"
)
A SpatialExperiment object
A string or a vector indicating the cell type information.
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