quanTIseq.Rd
Run quanTIseq deconvolution
quanTIseq(currsig, currmix, scaling = TRUE, method = "lsei")
Signature matrix to be used for deconvolution (format: genes by cell types).
Mixture matrix to be deconvoluted (format: genes by samples).
Logical value. If set to FALSE, it disables the correction of cell-type-specific mRNA content bias. Default: TRUE
Character string, defining the deconvolution method to be used:
lsei
for constrained least squares regression, hampel
, huber
, or bisquare
for robust regression with Huber, Hampel, or Tukey bisquare estimators,
respectively. Default: lsei
.
A data.frame of cell fractions, cell types by samples.
data(dataset_racle)
mixture <- dataset_racle$expr_mat
signature.file <- system.file(
"extdata", "TIL10_signature.txt", package = "quantiseqr", mustWork = TRUE)
signature <- read.table(signature.file, header = TRUE, sep = "\t", row.names = 1)
# cellfrac <- quantiseqr:::quanTIseq(mixture, signature)