tag: tag

Description Usage Arguments Details Value Author(s)

Description

Derive tag SNPs for a SnpMatrix object using heirarchical clustering

Usage

1
  tag(X, tag.threshold = 0.99, snps = NULL, samples = NULL)

Arguments

X

SnpMatrix object

tag.threshold

threshold to cut tree, default=0.99

snps

colnames of the SnpMatrix object to be used

samples

optional, subset of samples to use

Details

Uses complete linkage and the hclust function to define clusters, then cuts the tree at 1-tag.threshold

Value

character vector, names are snps, values are the tag for each SNP

Author(s)

Chris Wallace


chr1swallace/snpBMA documentation built on May 13, 2019, 6:19 p.m.