rnb.plot.sentrix.distribution {RnBeads} | R Documentation

## rnb.plot.sentrix.distribution

### Description

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

### Usage

    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

    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)

[Package RnBeads version 1.12.1 Index]