A plot should be implemented to visualise the average methylation levels of specific regions along the chromosome position (midpoint between the start and end of features?). Such a plot can also serve as a basis for a plot of the methylation over equal size bins across the genome.
Basic approach:
Calculate the average methylation levels of each feature
First take mean over each position, then take mean across position means.
Calculate mid-point of each region.
geom_point of mid-point vs average methylation.
Considerations:
To properly span a genome requires information about genome sizes. Might require a new property in NanoMethResult to describe genome sizes in a table, or add as argument.
May wish to split data by group, provide options to colour by or facet by group.
A plot should be implemented to visualise the average methylation levels of specific regions along the chromosome position (midpoint between the start and end of features?). Such a plot can also serve as a basis for a plot of the methylation over equal size bins across the genome.
Basic approach:
Considerations: