rnb.load.annotation.from.db {RnBeads} | R Documentation

## rnb.load.annotation.from.db

### Description

Loads a previously region annotation from the RnBeads resource database

### Usage

    rnb.load.annotation.from.db(types, assembly = "hg19")

### Arguments

`types` | One-element `character` vector giving the name of the region annotation. If this annotation is already available, it will be overwritten for the current session.
`assembly` | Genome assembly of interest. See `rnb.get.assemblies` for the list of supported genomes.

### Details

This function checks whether a region annotation is present in the RnBeads resources, downloads the corresponding annotation file(s) from the and then runs `rnb.load.annotation` to import the annotation.

### Value

Invisibly, `TRUE` if the annotation was loaded successfully; an error message if the objects in the given file do not encode an annotation.

### Author(s)

Fabian Mueller

### See Also

`rnb.load.annotation` for loading annotation from a binary file

### Examples

    rnb.region.types()
    rnb.load.annotation.from.db(c("tiling1kb", "dynamicMethZiller2013"))
    rnb.region.types()

[Package RnBeads version 2.12.2 Index]