% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transcriptome-hub.R
\name{get_analysis_data}
\alias{get_analysis_data}
\title{Get analysis data for a transcriptome dataset}
\usage{
get_analysis_data(dataset_id, module, gene = NULL)
}
\arguments{
\item{dataset_id}{The dataset ID.}

\item{module}{Analysis module name. One of: \code{"meta"}, \code{"expression"},
\code{"deg"}, \code{"go"}, \code{"kegg"}, \code{"gsea"}, \code{"ppi"}, \code{"immune"}, \code{"tf"},
\code{"pca"}, \code{"qc"}.}

\item{gene}{Optional gene filter (for expression module only).}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} for tabular modules (deg, go, kegg, gsea,
immune, tf), or a named list for structured modules (meta, expression,
ppi, pca, qc).
}
\description{
Retrieve data for a specific analysis module. Return type varies by
module.
}
\examples{
\dontrun{
get_analysis_data("TCMtrans00001", "deg")
get_analysis_data("TCMtrans00001", "expression", gene = "TP53")
}
}
