build_cpg_annots {annotatr} | R Documentation

## A helper function to build CpG related annotations.

### Description

Using the `AnnotationHub` package, extract CpG island track for the appropriate `genome` and construct the shores, shelves, and interCGI annotations as desired.

### Usage

    build_cpg_annots(genome = annotatr::builtin_genomes(),
      annotations = annotatr::builtin_annotations())

### Arguments

`genome` | The genome assembly.
`annotations` | A character vector with entries of the form `[genome]_cpg_{islands,shores,shelves,inter}`.

### Value

A list of `GRanges` objects.

[Package annotatr version 1.4.1 Index]