| deconvo_epic | R Documentation |
Estimates immune cell fractions using EPIC algorithm.
deconvo_epic(eset, project = NULL, tumor = TRUE)
eset |
Gene expression matrix with genes as row names. |
project |
Optional project name. Default is 'NULL'. |
tumor |
Logical indicating tumor ('TRUE') or normal ('FALSE') samples. |
Data frame with EPIC cell fraction estimates. Columns suffixed with '_EPIC'.
Dongqiang Zeng
## Not run:
TRef <- load_data("TRef")
if (!is.null(TRef)) {
set.seed(123)
sim_eset <- matrix(rnorm(nrow(TRef$refProfiles) * 2), nrow(TRef$refProfiles), 2)
rownames(sim_eset) <- rownames(TRef$refProfiles)
colnames(sim_eset) <- paste0("Sample", 1:2)
result <- deconvo_epic(eset = sim_eset, project = "Example", tumor = TRUE)
if (!is.null(result)) head(result)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.