Learn R Programming

ADAPTS (version 1.0.22)

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

Description

curExpr <- estCellCounts.nPass(sigMatrix, deconMatrices)

Usage

estCellCounts.nPass(geneExpr, deconMatrices, method = "DCQ")

Value

An estimate of cell counts

Arguments

geneExpr

The gene expression matrix

deconMatrices

The results from spillToConvergence()

method

One of 'DCQ', 'SVMDECON', 'DeconRNASeq', 'proportionsInAdmixture', 'nnls' (DEFAULT: DCQ)

Examples

Run this code
#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, method='DCQ')

Run the code above in your browser using DataLab