rnb.plot.betadistribution.sampleGroups {RnBeads} | R Documentation |
Plots beta value distrubions given a sample grouping.
rnb.plot.betadistribution.sampleGroups(beta.matrix, sample.group.inds, annotation = "Group", log.str = NULL, points.per.group = rnb.getOption("distribution.subsample"))
beta.matrix |
Beta values in the form of a non-empty |
sample.group.inds |
Named |
annotation |
Name of the annotation being visualized, in the form of a |
log.str |
string specifying more details for the log file |
points.per.group |
the targeted number of points per group. Set this to a value < 1 to disable subsampling. More
information in the Details section of |
the plot as a ggplot2
object
Fabian Mueller
rnb.plot.betadistribution.probeCategories
library(RnBeads.hg19) data(small.example.object) logger.start(fname=NA) meth.mat <- meth(rnb.set.example) sample.groups <- rnb.sample.groups(rnb.set.example)[[1]] rnb.plot.betadistribution.sampleGroups(meth.mat,sample.groups)