Description Usage Arguments Value
View source: R/simulate_dropseq_experiment.R
create FASTA files containing RNA-seq reads simulated from provided transcripts, given gene number and cell number
1 2 3 | simulate_dropseq_experiment(fasta = NULL, ngenes = NULL,
ncells = NULL, libloc = 5, libscale = 0.2, polyAnum = 15,
bias = "empirical", model = NULL, outdir = ".")
|
fasta |
path to FASTA file containing transcripts from which to simulate reads. |
ngenes |
number of genes to simulate |
ncells |
number of cells to simulate |
libloc |
location parameter for the library size log-normal distribution, together with |
libscale |
scale parameter for the library size log-normal distribution, together with |
polyAnum |
minimum number of 'A's in a polyA region, integer. A region should contain at least n continous 'A's to be considered as a polyA region. |
bias |
polyA sampling bias, one of 'empirical', 'custom' (default 'empirical'). If 'empirical', the built-in model is adopted.
This model is trained on data sets from the Drop-seq experiments described in the Cell paper (Macosko et al, 2015).
If 'custom', polyA sampling bias is captured from user input model. The path of user input model is specified in |
model |
path to polyA sampling bias model if |
outdir |
path to folder where simulated reads should be written. By default, reads written to the working directory. |
No return, but simulated reads are written to outdir
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.