intra_correlation_scExp {ChromSCape} | R Documentation |
Calculate intra correlation between cluster or samples
intra_correlation_scExp(scExp_cf, by = c("sample_id", "cell_cluster")[1])
scExp_cf |
A SingleCellExperiment |
by |
On which feature to calculate correlation ("sample_id" or "cell_cluster") |
A data.frame of cell average intra-correlation
data(scExp) intra_correlation_scExp(scExp, by = "sample_id") intra_correlation_scExp(scExp, by = "cell_cluster")