| load_data | R Documentation |
Loads internal datasets from the IOBR package. Supports both sysdata (internal) and exported data files included in the package.
load_data(name)
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"' |
Dataset object, typically a 'list', 'data.frame', or 'matrix'. The exact type depends on the requested dataset.
# 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"
## Not run:
# Load expression data (triggers download from GitHub)
eset <- load_data("eset_stad")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.