Learn R Programming

GESTr (version 0.1)

findReplicateGroups: Find Groups of Replicate Samples Within Dataset

Description

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

Usage

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.

Value

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.

Examples

Run this code
### internal function ###

Run the code above in your browser using DataLab