View source: R/correlation_filtering_clustering.R
inter_correlation_scExp | R Documentation |
Calculate inter correlation between cluster or samples
inter_correlation_scExp(
scExp_cf,
by = c("sample_id", "cell_cluster")[1],
reference_group = unique(scExp_cf[[by]])[1],
other_groups = unique(scExp_cf[[by]]),
fullCor = TRUE
)
scExp_cf |
A SingleCellExperiment |
by |
On which feature to calculate correlation ("sample_id" or "cell_cluster") |
reference_group |
Reference group to calculate correlation with. Must be in accordance with "by". |
other_groups |
Groups on which to calculate correlation (can contain multiple groups, and also reference_group). Must be in accordance with "by". |
fullCor |
A logical specifying if the correlation matrix was calculated on the entire set of cells (TRUE). |
A data.frame of average inter-correlation of cells in other_groups with cells in reference_group
data(scExp)
inter_correlation_scExp(scExp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.