% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deconvo_tme.R
\name{deconvo_mcpcounter}
\alias{deconvo_mcpcounter}
\title{Deconvolve Immune Microenvironment Using MCP-Counter}
\usage{
deconvo_mcpcounter(eset, project = NULL)
}
\arguments{
\item{eset}{Gene expression matrix with HGNC symbols as row names.}

\item{project}{Optional project name. Default is `NULL`.}
}
\value{
Data frame with MCP-counter scores. Columns suffixed with
  `_MCPcounter`.
}
\description{
Estimates immune cell abundances using MCP-counter.
}
\examples{
mcp_genes <- load_data("mcp_genes")
if (!is.null(mcp_genes)) {
  set.seed(123)
  sim_eset <- matrix(rnorm(nrow(mcp_genes) * 3), nrow(mcp_genes), 3)
  rownames(sim_eset) <- mcp_genes$`HUGO symbols`
  colnames(sim_eset) <- paste0("Sample", 1:3)
  
  # Run deconvolution
  result <- deconvo_mcpcounter(eset = sim_eset, project = "TCGA-STAD")
  if (!is.null(result)) head(result)
}
}
\author{
Dongqiang Zeng
}
