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

Description Usage Arguments Value Author(s) Examples

View source: R/controlPlots.R

Description

Bar plots of beta-values from the genotyping probes

Usage

1
2
3
4
5
6
7
rnb.plot.snp.barplot(
  dataset,
  probeID,
  writeToFile = FALSE,
  numeric.names = FALSE,
  ...
)

Arguments

dataset

Dataset as an instance of RnBeadRawSet or RnBeadSet. Alternatively, the dataset can be specified as a non-empty matrix containing the computed beta values on the SNP probes.

probeID

Probe identifier. This must be one of rownames(meth(dataset)).

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.

...

Additional named arguments passed to createReportPlot.

Value

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

Author(s)

Pavlo Lutsik

Examples

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

RnBeads documentation built on March 3, 2021, 2 a.m.