| toy_sce | R Documentation |
Builds a small deterministic SingleCellExperiment (20 genes x 300
cells, two cell types in the cell_type colData column) with the
installed SingleCellExperiment version, so no serialized object needs to
ship with the package. The same simulated counts as toy_seurat() are
stored in the counts assay, with log-normalized values in logcounts.
The generator restores the caller's random-number state.
toy_sce()
Requires the suggested package SingleCellExperiment (Bioconductor).
A SingleCellExperiment with counts and logcounts assays
and a cell_type colData column with values "jurkat" and "t293".
toy_seurat(), wilcoxauc()
if (requireNamespace("SingleCellExperiment", quietly = TRUE)) {
object_sce <- toy_sce()
head(wilcoxauc(object_sce, "cell_type"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.