Description Usage Arguments Value Author(s) Examples
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.
1 2 3 4 5 6 7 | addRegionSubsegments(
rnb.set,
annotation.dir,
region.types = NULL,
add.region.types.to.options = FALSE,
ns = 10
)
|
rnb.set |
an |
annotation.dir |
a directory to save the annotation to for later reloading. (binary |
region.types |
the region types to which subsegmentation should be applied. Must be a non-empty
subset of |
add.region.types.to.options |
Flag indicating whether to add the newly created subregions to the package's
|
ns |
the mean number of sites per cluster. |
the modified RnBSet
object
Fabian Mueller
1 2 3 4 5 | library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
rnb.set.mod <- addRegionSubsegments(rnb.set.example,tempdir(),region.types=c("tiling","genes"))
summary(meth(rnb.set.mod,type="tiling.subsegments"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.