% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.R
\name{load_data}
\alias{load_data}
\title{Load IOBR Datasets}
\usage{
load_data(name)
}
\arguments{
\item{name}{Character string. Name of the dataset to load. Must be a single value.
Available datasets include:
- Expression data: `"eset_stad"`, `"imvigor210_eset"`, `"melanoma_data"`
- Signatures: `"signature_tme"`, `"signature_metabolism"`, `"signature_collection"`
- Gene sets: `"hallmark"`, `"kegg"`, `"go_bp"`, `"go_cc"`, `"go_mf"`
- Cell markers: `"cellmarkers"`, `"mcp_genes"`
- Phenotype data: `"pdata_stad"`, `"pdata_sig_tme"`, `"pdata_acrg"`
- Reference data: `"xCell.data"`, `"quantiseq_data"`, `"TRef"`, `"BRef"`
- Color palettes: `"palette1"`, `"palette2"`, `"palette3"`, `"palette4"`}
}
\value{
Dataset object, typically a `list`, `data.frame`, or `matrix`.
  The exact type depends on the requested dataset.
}
\description{
Loads internal datasets from the IOBR package. Supports both sysdata (internal)
and exported data files included in the package.
}
\examples{
# Load signature collection (stored in sysdata, no download)
sig_tme <- load_data("signature_tme")

# Load color palette (stored in sysdata, no download)
colors <- load_data("palette1")

# Error handling with suggestions for similar names
try(load_data("sign_tme")) # Will suggest "signature_tme"

\dontrun{
# Load expression data (triggers download from GitHub)
eset <- load_data("eset_stad")
}
}
