Learn R Programming

SuperCell (version 1.0)

sc_mixing_score: Compute mixing of single-cells within supercell

Description

Compute mixing of single-cells within supercell

Usage

sc_mixing_score(SC, clusters)

Value

a vector of single-cell mixing within super-cell it belongs to, which is defined as: 1 - proportion of cells of the same annotation (e.g., cell type) within the same super-cell With 0 meaning that super-cell consists of single cells from one cluster (reference assignment) and higher values correspond to higher cell type mixing within super-cell

Arguments

SC

super-cell object (output of SCimplify function)

clusters

vector of clustering assignment (reference assignment)