intra_correlation_scExp {ChromSCape} | R Documentation

## Calculate intra correlation between cluster or samples

### Description

Calculate intra correlation between cluster or samples

### Usage

    intra_correlation_scExp(scExp_cf, by = c("sample_id", "cell_cluster")[1])

### Arguments

`scExp_cf` | A SingleCellExperiment
`by` | On which feature to calculate correlation ("sample_id" or "cell_cluster")

### Value

A data.frame of cell average intra-correlation

### Examples

    data(scExp)
    intra_correlation_scExp(scExp, by = "sample_id")
    intra_correlation_scExp(scExp, by = "cell_cluster")

[Package ChromSCape version 1.2.62 Index]