% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/deconvo_tme.R
\name{deconvo_estimate}
\alias{deconvo_estimate}
\title{Calculate ESTIMATE Scores}
\usage{
deconvo_estimate(eset, project = NULL, platform = "affymetrix")
}
\arguments{
\item{eset}{Gene expression matrix with gene symbols.}

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

\item{platform}{Platform type: `"affymetrix"` or `"illumina"`.
Default is `"affymetrix"`.}
}
\value{
Data frame with ESTIMATE scores. Columns suffixed with `_estimate`.
}
\description{
Calculates stromal, immune, and ESTIMATE scores from gene expression.
}
\examples{
\dontrun{
common_genes <- load_data("common_genes")
if (!is.null(common_genes)) {
  set.seed(123)
  sim_eset <- matrix(rnorm(nrow(common_genes) * 2), nrow(common_genes), 2)
  rownames(sim_eset) <- common_genes$GeneSymbol
  colnames(sim_eset) <- paste0("Sample", 1:2)
  result <- deconvo_estimate(sim_eset, project = "TCGA-STAD")
  if (!is.null(result)) head(result)
}
}
}
\author{
Dongqiang Zeng
}
