Learn R Programming

RnBeads (version 1.4.0)

rnb.get.mapping: rnb.get.mapping

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

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.

Examples

Run this code

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

Run the code above in your browser using DataLab