Creates a density plot of the mean of individual smoothed methylation values
Arguments
- matrix
A matrix of smoothed individual methylation values
- group
Ordered factor vector of sample groupings
Value
A ggplot
object that can be viewed by calling it,
saved with ggplot2::ggsave()
, or further modified by adding ggplot2
syntax.