rnb.annotation.size {RnBeads} | R Documentation

## 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).

### Author(s)

Yassen Assenov

### See Also

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

### Examples

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

[Package RnBeads version 2.4.0 Index]