sc_mixing_score: Compute mixing of single-cells within supercell

View source: R/singlecell_mixing.R

sc_mixing_scoreR Documentation

Compute mixing of single-cells within supercell

Description

Compute mixing of single-cells within supercell

Usage

sc_mixing_score(SC, clusters)

Arguments

SC

super-cell object (output of SCimplify function)

clusters

vector of clustering assignment (reference assignment)

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


SuperCell documentation built on Oct. 25, 2024, 5:07 p.m.