Learn R Programming

RnBeads (version 1.4.0)

rnb.save.annotation: rnb.save.annotation

Description

Saves the specified region annotation table and its accompanying data structures to a binary file.

Usage

rnb.save.annotation(fname, type, assembly = "hg19")

Arguments

fname
One-element character vector giving the name of the file to contain the annotation data. If this file already exists, it will be overwritten.
type
One-element character vector giving the name of the region annotation.
assembly
Genome assembly of interest. See rnb.get.assemblies for the list of supported genomes.

Value

TRUE, invisibly.

Details

This function is used in combination with rnb.load.annotation to enable fast reloading of custom region annotations. If can also be used to save a build-in region annotation (e.g. before overwriting it) but not site or control probe annotations.

See Also

rnb.load.annotation for loading a saved annotation