filter_geno: Filters genotypes based on various criteria

Description Usage Arguments Value

Description

Before using genotypes in models, this function can be used to filter out SNPs that are fixed, have a low call rate, etc.

Usage

1
filter_geno(geno, call_rate = 0.9, fix = TRUE)

Arguments

geno

matrix of genotyping data with individuals in rows and SNPs in columns. Formatted in dosage of B format.

call_rate

numeric proportion indicating the call rate that must be met

fix

boolean. If TRUE, remove SNPs that are fixed among all animals

Value

geno matrix with removed (filtered out) SNPs


funkhou9/snpTools documentation built on May 16, 2019, 4:05 p.m.