prune_tags: Hierarchical pruning of genotype matrix

Description Usage Arguments Value

Description

Find SNPs that "tag" groups of correlated SNPs by cutting a hierarchical clustering tree at the specified threshold.

Usage

1
prune_tags(genotypes_1, genotypes_2 = NULL, threshold = 0.9)

Arguments

genotypes_1

Genotype matrix, with SNP identifiers as column names.

genotypes_2

Optional second genotype matrix, useful to jointly select tag SNPs for cojam.

threshold

Correlation (height) at which to cut the hierarchical clustering tree.

Value

Character vector of tag SNP identifiers.


simisc/cojam documentation built on Dec. 31, 2020, 7:26 a.m.