Retrieves per-cell data (cluster IDs, cell type IDs, nearest landmarks, or fuzzy graph) for a single sample, transparently reading from on-disk cache when caching is active or from in-memory slots otherwise.
Arguments
Value
The per-cell object for that sample and slot: a named character
vector (for *ids), an integer matrix (for
nearest.lm), or a sparse matrix (for
fuzzy.graphs).
Examples
if (FALSE) { # \dontrun{
# Get cell type labels for the first sample
ct <- get.cellmap(x = lm.obj,
.slot = "celltyping",
.sample = names(lm.obj$cells)[1])
} # }
