ann.cpg: Annotate CpGs

View source: R/anncpg.R

ann.cpgR Documentation

Annotate CpGs

Description

Provides annotation for the CpGs of a data.frame.

Usage

ann.cpg(cpgs, array, what = "all")

Arguments

cpgs

data.frame including the probe identifiers as row names.

array

Type of Illumina methylation array: EPIC or 450k.

what

What to annotate. Four options: all, gene, island, or short.

Examples

array <- "EPIC"
what <- "short"

raulsanzr/methtools documentation built on June 30, 2022, 5:58 p.m.