tag {colocPropTest} | R Documentation |
Derive tag SNPs using heirarchical clustering
Description
Uses complete linkage and the hclust
function to define clusters,
then cuts the tree at 1-tag.threshold
Usage
tag(r2, r2_threshold = 0.95, quiet = FALSE, method = "complete")
Arguments
r2 |
matrix of rsquared values |
r2_threshold |
only 1 of a set of snps with r2 > r2_threshold will be kept |
quiet |
if FALSE (default), show progress messages |
method |
method used for heirarchical clustering. See hclust for options. |
Value
character vector, names are snps
, values are the tag for each SNP
Author(s)
Chris Wallace
[Package colocPropTest version 0.9.1 Index]