% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/samples.R
\name{load_sample}
\alias{load_sample}
\title{Load a bundled sample dataset by name}
\usage{
load_sample(name)
}
\arguments{
\item{name}{Sample identifier from [list_samples()].}
}
\value{
A [`VennDataset-class`] with the appropriate format and mode applied.
}
\description{
Sample datasets ship inside the package under `inst/extdata/samples/` and
cover biological (cancer drivers, MSigDB pathways) and mock (streaming
platforms, gene sets) use cases. Use [list_samples()] to enumerate.
}
\examples{
ds <- load_sample("dataset_mock_gene_sets")
length(ds@set_names)
\donttest{
ds <- load_sample("dataset_real_cancer_drivers_4")
analyze(ds)@model
}
}
