load.region.subsegment.annotation {RnBeads} | R Documentation

## load.region.subsegment.annotation

### Description

For the region annotation of a given `RnBSet` object. Subdivide each region into subsegments by hierarchical clustering on the site distances in a particular region and then splitting the region into subregions consisting of these site clusters. The number of clusters is determined in such way that the mean number of sites per cluster is given by the `ns` parameter.

### Usage

    load.region.subsegment.annotation(rnb.set, annotation.dir)

### Arguments

`rnb.set` | The `RnBSet object` with subsegments specified in the regions
`annotation.dir` | a directory to load the annotation from. (binary `RData` format.)

### Value

invisible `TRUE`

### Author(s)

Fabian Mueller

[Package RnBeads version 1.12.1 Index]