Description Usage Arguments Value
Down-sample RNA-seq data. Down-sample full dataset to a smaller dataset of specified size.
| 1 | downSample(dataset, group = NULL, nreps, depth, nsims = 20)
 | 
| dataset | Numeric count matrix; full dataset from which to down-sample. Note that for my purposes, this full dataset is simulated. | 
| group | Vector or factor giving the experimental group/condition for each sample/library in the full dataset. | 
| nreps | Desired number of replicates per group. | 
| depth | Desired depth (library size) in millions for each sample. | 
| nsims | Number of simulations to run, i.e. number of datasets to generate of this size. | 
Doesn't return anything, just saves the down-sampled datasets as RData.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.