build_cpg_annots: A helper function to build CpG related annotations.

View source: R/build_annotations.R

build_cpg_annotsR 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.


rcavalcante/annotatr documentation built on Aug. 22, 2024, 7:33 a.m.