rnb.get.mapping: rnb.get.mapping

Description Usage Arguments Value Author(s) Examples

View source: R/annotations.R

Description

Gets the mapping information used for a region type. These are structures used to map regions to the genomic loci (or Infinium probes) that target them.

Usage

1
rnb.get.mapping(region.type, target.type, assembly = "hg19")

Arguments

region.type

Region type. The built-in types are "cpgislands", "genes", "promoters" and "tiling".

target.type

Target type for sites.

assembly

Genome assembly of interest. See rnb.get.assemblies for the list of supported genomes.

Value

list of mapping structures, one per chromosome. Every mapping structure is an object of type IRanges and stores the range of indices of all sites contained in the respective region. Regions that do not contain sites are left out of the mapping.

Author(s)

Yassen Assenov

Examples

1
2
promoters2probes <- rnb.get.mapping("promoters", "probes450")
promoters2probes[["chr21"]]

RnBeads documentation built on May 31, 2017, 11:35 a.m.