View source: R/makeSimulatedDataset.R
makeSimulatedFraserDataSet | R Documentation |
Simulates a data set based on random counts following a beta binomial (or Dirichlet-Multinomial) distribution.
makeSimulatedFraserDataSet(
m = 100,
j = 500,
q = 10,
distribution = c("BB", "DM"),
...
)
m |
Number of simulated samples |
j |
Number of simulated junctions |
q |
number of simulated latent variables. |
distribution |
Either "BB" for a beta-binomial simulation or "DM" for a dirichlet-multinomial simulation. |
... |
Further arguments used to construct the FraserDataSet. |
An FraserDataSet containing an example dataset based on simulated data
# A generic dataset
fds1 <- makeSimulatedFraserDataSet()
fds1
# A generic dataset with specificed sample size and injection method
fds2 <- makeSimulatedFraserDataSet(m=10, j=100, q=3)
fds2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.