Learn R Programming

RnBeads (version 1.4.0)

rnb.set.annotation.and.cpg.stats: rnb.set.annotation.and.cpg.stats

Description

wrapper for rnb.set.annotation to accept the region format as output by annotation(rnb.set). Additionally, CpG statistics are added to the annotation.

Usage

rnb.set.annotation.and.cpg.stats(type, regions, description = NULL, assembly = "hg19")

Arguments

type, description, assembly
Parameters handled exactly as in rnb.set.annotation
regions
a data.frame handled similarly as by rnb.set.annotation with the exception that the genomic location columns should be specified using upper case first letters

Value

Invisibly, TRUE if an existing annotation was replaced and FALSE otherwise.

See Also

rnb.set.annotation