maf_tab: Returns a summary of a MAF variable (i.e. 1KG or ESP6500)

Description Usage Arguments Value See Also Examples

Description

maf_tab reads in a MAF vector (i.e. 1KG or ESP6500) and outputs the number of variants satisfying certain conditions.

Usage

1
maf_tab(maf_vec)

Arguments

maf_vec

The vector containing the MAF values.

Value

An integer vector with the counts of each condition

See Also

sum and setNames.

Examples

1
2
3
4
5
## Not run: 
maf_tab(vars$aaf.1KG) # assumes you have a vars data frame
maf_tab(vars$esp6500_all) # assumes you have a vars data frame

## End(Not run)

bahlolab/varpr documentation built on May 11, 2019, 5:26 p.m.