rnb.set.annotation.and.cpg.stats {RnBeads}R Documentation

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.

Author(s)

Fabian Mueller

See Also

rnb.set.annotation


[Package RnBeads version 2.12.2 Index]