Description Usage Arguments Value
View source: R/simulate_dropseq_experiment_countmat.R
create FASTA files containing RNA-seq reads simulated from provided transcripts, given a countmat matrix
1 2 | simulate_dropseq_experiment_countmat(fasta = NULL, readmat,
polyAnum = 15, bias = "empirical", model = NULL, outdir = ".")
|
fasta |
path to FASTA file containing transcripts from which to simulate reads. |
readmat |
a gene-cell matrix, each entry represents number of reads to simulate. |
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', 'naive' (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.