Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expandClusters

Expands soup counts calculated at the cluster level to the cell level


Description

Given a clustering of cells and soup counts calculated for each of those clusters, determines a most likely allocation of soup counts at the cell level.

Usage

expandClusters(clustSoupCnts, cellObsCnts, clusters, cellWeights, verbose = 1)

Arguments

clustSoupCnts

Matrix of genes (rows) by clusters (columns) where counts are number of soup counts for that gene/cluster combination.

cellObsCnts

Matrix of genes (rows) by cells (columns) giving the observed counts

clusters

Mapping from cells to clusters.

cellWeights

Weighting to give to each cell when distributing counts. This would usually be set to the number of expected soup counts for each cell.

verbose

Integer giving level of verbosity. 0 = silence, 1 = Basic information, 2 = Very chatty, 3 = Debug.

Value

A matrix of genes (rows) by cells (columns) giving the number of soup counts estimated for each cell. Non-integer values possible.


SoupX

Single Cell mRNA Soup eXterminator

v1.5.2
GPL-2
Authors
Matthew Daniel Young
Initial release
2021-05-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.