Simulate Negative-Binomial VCMoE count data
simulate_vcmoe_negbin.RdGenerates Negative-Binomial VCMoE simulations for gene-expression count examples and tests.
Usage
simulate_vcmoe_negbin(n = 300L, k = 2L, seed = NULL,
separation = 1, u = NULL, scenario = "well_separated",
size_factor = NULL, mean_count = 5)Arguments
- n
Number of observations.
- k
Number of components. Values 2 through 10 are supported.
- seed
Optional random seed.
- separation
Controls expert separation.
- u
Optional numeric vector of index values.
- scenario
Simulation scenario:
"well_separated","moderate","near_overlap","crossing", or"imbalanced_gating".- size_factor
Optional positive size factors. If
NULL, log-normal size factors are generated.- mean_count
Baseline count scale.