findReplicateGroups: Find Groups of Replicate Samples Within Dataset

Description Usage Arguments Details Value Author(s) Examples

Description

Function to find groups of entities within a distance matrix that are similar to some statistical threshold

Usage

1
findReplicateGroups(distMatrix,theta=0.05)

Arguments

distMatrix

A numeric matrix containing pair-wise distances between each sample of the datset.

theta

A numeric value specifying the quantile of the Normal distribution (approximating the distribution of pairwise distances) to be used to call samples suitable similar to be considered replicates.

Details

Approximates all pair-wise distances with a Normal distribution, then find each group of samples for which all distances are less than the specified quantile of the approximated distribution.

Value

List with a separate element for each replicate group: the individual groups are represented by a vector of corresponding sample indices.

Author(s)

Ed Curry e.curry@imperial.ac.uk

Examples

1
### internal function ###

Example output

Loading required package: mclust
Package 'mclust' version 5.3
Type 'citation("mclust")' for citing this R package in publications.
Loading required package: gtools

GESTr documentation built on May 2, 2019, 9:37 a.m.