Description Arguments Value Author(s) Examples
View source: R/syntheticMultipletsFromCounts.R
Generates one multiplet per combo using the singlet counts data input to the function.
counts |
matrix; A matrix of singlet counts per million with cells as columns and genes as rows. |
classes |
character; A character vector indicating the cell types of the cells in the counts matrix. |
combos |
matrix; A matrix the combinations of cell types to be included
in the multiplets. Typically generated with the |
adjustment; |
numeric A named numeric vector with length = the number of unique cell types indicating the fraction of contribution for each cell type. Names should indicate the corresponding cell type. |
seed |
numeric; Seed for random number initiation. When generating many multiplets by running the function multiple times in a loop, the seed should be set dynamically in the function calling the makeSyntheticData function to avoid all multiplets being identical. |
... |
Additional arguments to pass on. |
A tibble with one gene per row and one synthesized multiplet per combo as columns.
Jason T. Serviss
1 | #use demo data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.