Dbp.merge: Dbp-merge

Description Usage Arguments Value

Description

Merge all sites on an interval, if the sites at the ends of the interval are “close" to each other

Usage

1
Dbp.merge(ordr.vec, thresh.dist, bp.thresh.dist, location.vec, dist.type = "spearman")

Arguments

ordr.vec

An (n by m) matrix of n measurements of m random variables (methylations). The columns are ordered.

thresh.dist

A similarity distance threshold. Sites in the interval are merged to a single cluster if the similarity distance between them is above thresh.dist.

bp.thresh.dist

A threshold distance in (e.g.) chromosomal location. Any interval to be potentially merged is smaller or equal to bp.thresh.dist.

location.vec

An m vector specifying the locations (e.g. chromosomal locations) of the variables measured in the matrix ordr.vec.

dist.type

Type of similarity distance function "spearman", "person" or "euclid".

Value

An m vector of cluster assignments of the m ordered variables.


tamartsi/Aclust documentation built on May 31, 2019, 2:56 a.m.