Learn R Programming

cape (version 2.0.2)

filter.maf: Filter markers by minor allele frequency.

Description

This function tests markers for minor allele frequency and removes markers below the user-set threshold.

Usage

filter.maf(data.obj, geno.obj, maf = 0.05)

Arguments

data.obj
The object in which all results are stored. See read.population.
geno.obj
The object in which the genotype object is stored.
maf
The minor allele frequency below which markers are removed.

Value

This function returns the data object with the marker information pared down to only those markers with minor allele frequencies greater than that specified by the user.