Description Usage Arguments Value Examples
View source: R/onlyDeconAlgorithms.R
Use a spillover matrix to deconvolve a samples
1 | estCellPercent.spillOver(spillExpr, refExpr, geneExpr, method = "DCQ", ...)
|
spillExpr |
A spill over matrix, as calculated by buildSpilloverMat(). (e.g. LM22.spillover.csv.gz) |
refExpr |
a data frame representing immune cell expression profiles. Each row represents an expression of a gene, and each column represents a different immune cell type. colnames contains the name of each immune cell type and the rownames includes the genes' symbol. The names of each immune cell type and the symbol of each gene should be unique. Any gene with missing expression values must be excluded. |
geneExpr |
a data frame representing RNA-seq or microarray gene-expression profiles of a given complex tissue. Each row represents an expression of a gene, and each column represents a different experimental sample. colnames contain the name of each sample and rownames includes the genes' symbol. The name of each individual sample and the symbol of each gene should be unique. Any gene with missing expression values should be excluded. |
method |
One of 'DCQ', 'SVMDECON', 'DeconRNASeq', 'proportionsInAdmixture', 'nnls' (DEFAULT: DCQ) |
... |
Parameters for estCellPercent.X (e.g. number_of_repeats for .DCQ) |
a matrix of estimate cell type percentages in samples
1 2 3 4 5 6 7 | #This toy example
library(ADAPTS)
fullLM22 <- ADAPTS::LM22[1:30, 1:4]
smallLM22 <- fullLM22[1:25,]
spillover <- buildSpilloverMat(refExpr=smallLM22, geneExpr=fullLM22)
cellEst <- estCellPercent.spillOver(spillExpr=spillover, refExpr=smallLM22, geneExpr=fullLM22)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.