str.filter: str.filter

Description Usage Arguments Author(s)

View source: R/str.filter.R

Description

this function filters out individuals or loci with missing data according to a cut off percentage

Usage

1
2
3
## S3 method for class 'filter'
str(structure.file, cutoff = NULL, filter.loci = T,
  filter.samp = F)

Arguments

structure.file

a matrix or data frame object representing the structure-like genotype file

cutoff

float. A percentage cutoff between 0 and 1 to exclude loci or individuals with missing data. Defaut NULL.

filter.loci

logical. If TRUE loci with missing samples will be filtered out.

filter.samp

logical. If TRUE samples with missing loci will be filtered out.

Author(s)

Marcelo Gehara


gehara/Junkyardtools documentation built on Nov. 4, 2019, 1:04 p.m.