Description Usage Arguments Value Examples
A function that calculates the coverage of long-read RNA
1 | readCoverage(coor, alns)
|
coor |
A data frame containing exon coordinates of target gene. |
alns |
A GAlignment object of long-read RNA alignments generated by Minimap2. |
A data frame that stores the coverage of the reads
1 2 3 4 5 6 7 8 9 10 11 12 13 | alignments <- system.file("extdata", "mlx_reads.sorted.bam",
package = "LSplicing")
referenceCoord <- system.file("extdata", "example_refCoord.gff3",
package = "LSplicing")
## Not run:
results <- countReads(alignments, referenceCoord)
coor <- results[[1]]
coor <- coor[coor$gene_id == "ENSG00000108788.11", ]
readCoverage(coor = coor,
alns = alignments)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.