Description Usage Arguments Value Examples
A function that plots results exon combination of target gene (plots results of countReads function).
1 | plotReads(coor, reads, gene, alnsFile)
|
coor |
A data frame that contains exon coordinates of different genes. |
reads |
A data frame containing rows of reads. If a value = 1, then that row of read is mapped to that column of exon. If a value = 0, then that row of read is not mapped to that column of exon. |
gene |
A string of characters representing Ensembl gene ID of the gene of interest. |
alnsFile |
The file that store the long-read RNA alignments generated by Minimap2. |
A ggplot graph that represent the long-read RNAs exon combinations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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]]
r <- results[[2]]
plotReads(coor = coor,
reads = r,
gene = "ENSG00000108788.11",
alns = alignments)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.