MAFfilter: Filter genotype contents of an smlSet according to certain...

Description Usage Arguments Details Value Author(s) Examples

Description

Filter genotype contents of an smlSet according to certain SNP allele frequency features.

Usage

1
2
3
4
5
MAFfilter(x, lower = 0, upper = 1)

GTFfilter(x, lower = 0)

dropMonomorphies(sms)

Arguments

x

smlSet-class instance

sms

smlSet-class instance

lower

lower bound on MAF or GTF to allow retention of associated locus

upper

upper bound on MAF or GTF to allow retention of associated locus

Details

uses col.summary to compute MAF or GTF. dropMonomorphies also uses col.summary.

Value

smlSet-class instance

Author(s)

VJ Carey <stvjc@channing.harvard.edu>

Examples

1
2
3
4
5
6
if (file.exists(system.file("parts/20.rda", package="GGtools"))) {
 c20 = getSS("GGtools", "20")
 c20
 c20f = MAFfilter(c20, lower=.05)
 c20f
 }

GGBase documentation built on Nov. 8, 2020, 5:45 p.m.