rnb.plot.betadistribution.probeCategories {RnBeads} | R Documentation |
plot beta value distrubions given probe categories
rnb.plot.betadistribution.probeCategories(beta.matrix, probe.cat, annotation = "Group", color.legend = NULL, log.str = NULL, points.per.group = rnb.getOption("distribution.subsample"))
beta.matrix |
Beta values in the form of a non-empty |
probe.cat |
|
annotation |
Name of the annotation being visualized, in the form of a |
color.legend |
Color legend to use 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.sampleGroups
library(RnBeads.hg19) data(small.example.object) logger.start(fname=NA) meth.mat <- meth(rnb.set.example) probe.types <- annotation(rnb.set.example)[, "Design"] rnb.plot.betadistribution.probeCategories(meth.mat,probe.types,annotation="Infinium probe type")