rnb.annotation.size: rnb.annotation.size

Description Usage Arguments Value Author(s) See Also Examples

View source: R/annotations.R

Description

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

Usage

1
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

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

RnBeads documentation built on March 3, 2021, 2 a.m.