Learn R Programming

SuperCell (version 1.0)

supercell_GE_idx: Simplification of scRNA-seq dataset (old version, not used since 12.02.2021)

Description

This function converts gene-expression matrix of single-cell data into a gene expression matrix of super-cells

Usage

supercell_GE_idx(ge, groups, weights = NULL, do.median.norm = FALSE)

Value

a matrix of simplified (averaged withing groups) data with ncol equal to number of groups and nrows as in the initial dataset

Arguments

ge

gene expression matrix (or any coordinate matrix) with genes as rows and cells as cols

groups

vector of membership (assignment of single-cell to super-cells)

weights

vector of a cell weight (NULL by default), used for computing average gene expression withing cluster of super-cells

do.median.norm

whether to normalize by median value (FALSE by default)