simSimpleCounts | R Documentation |
Simulate simple counts matrix for the empty and cell-containing droplets.
simSimpleCounts( total_gene = 30000, nempty = 20000, nlarge = 2000, nsmall = 200, empty_prof = NULL, empty_ngene_rate = 0.05, empty_rate = 1/100, large_prof = NULL, large_ngene_rate = 0.8, large_shape = 6, large_scale = 500, small_prof = NULL, small_ngene_rate = 0.6, small_shape = 10, small_scale = 100, remove_zero_drop = TRUE, remove_zero_feature = TRUE, seed = 0 )
total_gene |
Total gene number for all the simulated counts. |
nempty |
Empty, large cell and small cell droplets number. If |
nlarge |
Empty, large cell and small cell droplets number. If |
nsmall |
Empty, large cell and small cell droplets number. If |
empty_prof |
The overall gene expression profile distribution. If provided, must be the same length with |
empty_ngene_rate |
Rate of total genes expressed in each type of droplets. |
empty_rate |
Rate parameter of exponential distribution for 'Empty'. |
large_prof |
The overall gene expression profile distribution. If provided, must be the same length with |
large_ngene_rate |
Rate of total genes expressed in each type of droplets. |
large_shape |
shape parameters in the |
large_scale |
scale parameters in the |
small_prof |
The overall gene expression profile distribution. If provided, must be the same length with |
small_ngene_rate |
Rate of total genes expressed in each type of droplets. |
small_shape |
shape parameters in the |
small_scale |
scale parameters in the |
remove_zero_drop |
Whether to remove all zero-valued droplets. |
remove_zero_feature |
Whether to remove all zero-valued features. |
seed |
Random seed used in simulation. Default is 0. |
A sparse Matrix of class "dgCMatrix".
counts <- simSimpleCounts() counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.