Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/simulation-methods.R
Simple simulation of RNA-Seq expression data estimating counts based on the negative binomial distribution
| 1 | simulate_exprs(n_features, n_samples, prefix_sample = "")
 | 
| n_features | Number of genes | 
| n_samples | Number of samples | 
| prefix_sample | Prefix of sample name | 
RNA-Seq counts are generated using the Negative Binomial Distribution. Distribution parameters for each feature are sampled from a Gamma distribution. The resulting expression matrix is log2-scaled.
A numeric matrix with genes in rows and samples in columns
Daniel C. Ellwanger
NegBinomial and GammaDist
| 1 2 | # Matrix with 100 genes and 50 cells
dat <- simulate_exprs(n_features=100, n_samples=50)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.