% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deconvo_tme.R
\name{deconvo_epic}
\alias{deconvo_epic}
\title{Deconvolve Immune Microenvironment Using EPIC}
\usage{
deconvo_epic(eset, project = NULL, tumor = TRUE)
}
\arguments{
\item{eset}{Gene expression matrix with genes as row names.}

\item{project}{Optional project name. Default is `NULL`.}

\item{tumor}{Logical indicating tumor (`TRUE`) or normal (`FALSE`) samples.}
}
\value{
Data frame with EPIC cell fraction estimates. Columns suffixed with
  `_EPIC`.
}
\description{
Estimates immune cell fractions using EPIC algorithm.
}
\examples{
\donttest{
eset_stad <- load_data("eset_stad")
anno_grch38 <- load_data("anno_grch38")
eset <- anno_eset(eset = eset_stad, annotation = anno_grch38, probe = "id")
eset <- eset[1:500, 1:5]
epic_result <- deconvo_epic(eset = eset, project = "Example", tumor = TRUE)
head(epic_result)
}
}
\author{
Dongqiang Zeng
}
