Learn R Programming

RnBeads (version 1.4.0)

rnb.plot.snp.barplot: rnb.plot.snp.barplot

Description

Bar plots of beta-values from the genotyping probes

Usage

rnb.plot.snp.barplot(rnb.set, sample, writeToFile = FALSE, numeric.names = FALSE, ...)

Arguments

rnb.set
RnBeadRawSet or RnBeadSet object
sample
unique sample identifier. In case rnb.getOption("identifiers.column") is not NULL, sample should attain values from the corresponding column, or colnames(meth(rnb.set)) otherwise.
writeToFile
flag specifying whether the output should be saved as ReportPlot
numeric.names
if TRUE and writeToFile is TRUEsubstitute the plot options in the plot file name with digits
...
other arguments to createReportPlot

Value

plot as an object of type ReportPlot if writeToFile is TRUE and of class ggplot otherwise.

Examples

Run this code

library(RnBeads.hg19)
data(small.example.object)
samp<-samples(rnb.set.example)[1]
rnb.plot.snp.barplot(rnb.set.example, samp)

Run the code above in your browser using DataLab