index.groups: index.groups

Description Usage Arguments Value Author(s)

Description

create groups of SNPs with LD > r2.threshold with index.snps

Usage

1
2
  index.groups(X, index.snps, r2.threshold = 0.9,
    snps = NULL, samples = NULL)

Arguments

X

SnpMatrix object

index.snps

snps to index groups

r2.threshold

threshold above which snps should be grouped with an index snp

snps

SNP subset to be used (columns of X)

samples

sample subset to be used (rows of X)

Value

list of character vectors, each vector being a single group and the names of the list being the index snps

Author(s)

Chris Wallace


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