plotTopKmers: Plot frequency bar plot of top n kmers. The modResults...

Description Usage Arguments Value Author(s) References Examples

Description

Plot frequency bar plot of top n kmers. The modResults requires a kmer column. A ggplot bar plot of the frequencies of the top n kmers is returned. The n kmers can be specified through the numKmers parameter which is defaulted to 10.

Usage

1
plotTopKmers(modResults, numKmers = 10)

Arguments

modResults

RNA modification detection results in a dataframe

numKmers

Integer value specifying how many top kmers to display

Value

a bar plot of the frequencies of the top n kmers

Author(s)

Dae-won Gong, daewon.gong@mail.utoronto.ca

References

  1. Hadley Wickham, Romain François, Lionel Henry and Kirill Müller (2021). dplyr: A Grammar of Data Manipulation. R package version 1.0.7. https://CRAN.R-project.org/package=dplyr

  2. Pratanwanich, P. N., Yao, F., Chen, Y., Koh, C. W. Q., Wan, Y. K., Hendra, C., Poon, P., Goh, Y. T., Yap, P. M. L., Chooi, J. Y., Chng, W. J., Ng, S. B., Thiery, A., Goh, W. S. S., & Göke, J. (2021). Identification of differential RNA modifications from nanopore direct RNA sequencing with xPore. Nature Biotechnology,39(11), 1394–1402. https://doi.org/10.1038/s41587-021-00949-w

  3. H. Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York, 2016.

Examples

1

daewon-gong/NanoPlotR documentation built on Dec. 19, 2021, 8:02 p.m.