Load reference spectra from file or cache
Value
A list containing:
spectra: Reference spectra matrix (programs x genes)
score_data: Score definitions (if available)
score_path: Path to score file (if available)
ref_name: Reference name
Examples
if (FALSE) { # \dontrun{
ref <- load_reference("TCAT.V1")
dim(ref$spectra)
} # }