View source: R/generateSyntheticData.R
simulateData | R Documentation |
Use the Poisson or Negative Binomial model to simulate the data.
simulateData(
n.vars,
S1,
prob.S1,
sum.S1,
truedispersions.S1,
nfact_length.S1,
S2,
prob.S2,
sum.S2,
truedispersions.S2,
nfact_length.S2,
seq.depths,
overdispersed
)
n.vars |
The initial number of genes in the simulated data set. Based on the filtering conditions ( |
S1 |
Indices in condition 1. |
prob.S1 |
Vector of means for condition 1. |
sum.S1 |
Sum of means for condition 1. |
truedispersions.S1 |
Vector of dispersions for condition 1. |
nfact_length.S1 |
Matrix of length factors for condition 1. |
S2 |
Indices in condition 2. |
prob.S2 |
Vector of means for condition 2. |
sum.S2 |
Sum of means for condition 2. |
truedispersions.S2 |
Vector of dispersions for condition 2. |
nfact_length.S2 |
Matrix of length factors for condition 2. |
overdispersed |
Indices that are overdispersed. |
Z a n.var times 2*samples.per.cond matrix with the simulated data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.