| toy_seurat | R Documentation |
Builds a small deterministic Seurat object (20 genes x 300 cells, two
cell types in the cell_type metadata column) with the installed Seurat
version, so no serialized object needs to ship with the package or be
updated when Seurat changes its internal class structure. Counts are
Poisson-simulated with a few upregulated marker genes per cell type, and
log-normalized into the data layer. The generator restores the caller's
random-number state, so calling it does not perturb reproducibility.
toy_seurat()
Requires the suggested package Seurat.
A Seurat object with counts and data layers and a
cell_type metadata column with values "jurkat" and "t293".
toy_sce(), wilcoxauc()
if (requireNamespace("Seurat", quietly = TRUE)) {
object_seurat <- toy_seurat()
head(wilcoxauc(object_seurat, "cell_type"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.