Description Usage Arguments Value Examples
Report the coverage using bedtools coverage algorithm.
1 |
reads |
a |
annotation |
a object of type |
sf |
a number indicating the scaling factor. Each coverage value is multiplied by this factor before being reported. Useful for normalizing coverage by, e.g., reads per million (RPM). |
outfile |
a character vector indicating the output file name. If not provided, the result will be internalized in R. |
An object of type data.table
with 8 columns,
corresponding to:
Chromosome
Starting position
Ending position
Gene name
Gene strand (+ or -)
Positions. One based positions of the gene.
Depth at each position of the gene.
1 2 3 4 | data(annotations)
bam <- system.file("extdata", "wt_rep1.bam", package = "yCrypticRNAs")
fragments <- bam_to_reads(bam, annotations)
coverage(fragments, annotations, sf = 0.069872847)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.