rnb.plot.sentrix.distribution: rnb.plot.sentrix.distribution

Description Usage Arguments Value Author(s) Examples

View source: R/controlPlots.R

Description

Creates a point-and-whisker plots showing beta value distributions at Sentrix positions for the given slide.

Usage

1
rnb.plot.sentrix.distribution(rnb.set, sentrix.id)

Arguments

rnb.set

HumanMethylation450K dataset as an object of type RnBeadSet.

sentrix.id

Slide number (Sentrix ID) as an integer or character singleton.

Value

Generated point-and-whisker plot (an instance of ggplot) of mean methylations for the samples on the specified slide, or FALSE if the dataset is non-empty but does not contain samples on the given slide. If the provided dataset does not contain valid Sentrix ID and position information (or is an empty dataset), this method returns NULL.

Author(s)

Yassen Assenov

Examples

1
2
3
4
library(RnBeads.hg19)
data(small.example.object)
sid<-as.character(pheno(rnb.set.example)[["Sentrix_ID"]][1])
rnb.plot.sentrix.distribution(rnb.set.example,sid)

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