Description Usage Arguments Value
Partitions data based on either cells or genes. Attempts to find a partitioning scheme which is "balanced" for either total reads per cell across all genes (partitioning by gene) or total expression per gene across all cells (partitioning by gene). When partitioning by cell, at least 20 cells must be in each partition or BASiCS_MCMC will fail. If this partitioning fails, it will continue recursively up to a maximum number of iterations (20 by default).
1 2 3 4 5 6 7 8 9 | .generateSubsets(
Data,
NSubsets,
SubsetBy = c("cell", "gene"),
Alpha = 0.05,
WithSpikes = FALSE,
MaxDepth = 20,
.Depth = 1
)
|
Data |
a SingleCellExperiment object |
NSubsets |
Integer specifying the number of batches into which to divide Data for divide and conquer inference. |
SubsetBy |
Partition by "cell" or by "gene". |
Alpha |
p-value threshold for ANOVA testing of "balance" |
WithSpikes |
Similar to argument for BASiCS_MCMC - do the Data contain spikes? |
MaxDepth |
Maximum number of recursive |
.Depth |
Internal parameter. Do not set. |
A list of SingleCellExperiment objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.