Learn R Programming

ADAPTS (version 0.9.21)

estCellCounts.nPass: Deconvolve with an n-pass spillover matrix

Description

curExpr <- estCellCounts.nPass(sigMatrix, deconMatrices)

Usage

estCellCounts.nPass(geneExpr, deconMatrices)

Arguments

geneExpr

The gene expression matrix

deconMatrices

The results from spillToConvergence()

Value

An estimate of cell counts

Examples

Run this code
# NOT RUN {
#This toy example 
library(ADAPTS)
fullLM22 <- ADAPTS::LM22[1:30, 1:4]
smallLM22 <- fullLM22[1:25,] 

deconMatrices <- spillToConvergence(sigMatrix=smallLM22, geneExpr=fullLM22, nPasses=10)
cellCounts <- estCellCounts.nPass(geneExpr=fullLM22, deconMatrices=deconMatrices)
# }

Run the code above in your browser using DataLab