Learn R Programming

RnBeads (version 1.4.0)

rnb.annotation.size: rnb.annotation.size

Description

Gets the size, in number of genomic elements, of the specified annotation.

Usage

rnb.annotation.size(type = "CpG", assembly = "hg19")

Arguments

type
Name of annotation. Control probe annotations are not accepted.
assembly
Genome assembly of interest. See rnb.get.assemblies for the list of supported genomes.

Value

integer vector showing the number of elements the specified annotation contains per chromosome. The names of the vector are the names of rnb.get.chromosomes for the given genome assembly. Chromosomes that are not covered by the annotation have their respective value set to 0 (zero).

See Also

rnb.region.types for a list of supported region annotations

Examples

Run this code

library(RnBeads.hg19)
rnb.annotation.size("probes450")

Run the code above in your browser using DataLab