deconvo_epic: Deconvolve Immune Microenvironment Using EPIC

View source: R/deconvo_tme.R

deconvo_epicR Documentation

Deconvolve Immune Microenvironment Using EPIC

Description

Estimates immune cell fractions using EPIC algorithm.

Usage

deconvo_epic(eset, project = NULL, tumor = TRUE)

Arguments

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.

Value

Data frame with EPIC cell fraction estimates. Columns suffixed with '_EPIC'.

Author(s)

Dongqiang Zeng

Examples

## 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)

IOBR documentation built on May 30, 2026, 5:07 p.m.