NanoMethViz: an R/Bioconductor package for visualizing long-read methylation data

Motivation A key benefit of long-read nanopore sequencing technology is the ability to detect modified DNA bases, such as 5-methylcytosine. Tools for effective visualization of data generated by this platform to assess changes in methylation profiles between samples from different experimental groups remains a challenge.

Results To make visualization of methylation changes more straightforward, we developed the R/Bioconductor package NanoMethViz. Our software can handle methylation calls generated from a range of different methylation callers and manages large datasets using a compressed data format. To fully explore the methylation patterns in a dataset, NanoMethViz allows plotting of data at various resolutions. At the sample-level, we use multidimensional scaling to look at the relationships between methylation profiles in an unsupervised way.

We visualize methylation profiles of classes of features such as genes or CpG islands by scaling them to relative positions and aggregating their profiles. At the finest resolution, we visualize methylation patterns across individual reads along the genome using the spaghetti plot, allowing users to explore particular genes or genomic regions of interest.

In summary, our software makes the handling of methylation signal more convenient, expands upon the visualization options for nanopore data and works seamlessly with existing methylation analysis tools available in the Bioconductor project. Our software is available at https://bioconductor.org/packages/NanoMethViz.

Authors: Shian Su, Quentin Gouil, Marnie E. Blewitt, Dianne Cook, Peter F. Hickey, Matthew E. Ritchie