tests/MAFfilter.R

library(GGBase)
if ("GGtools" %in% installed.packages()[,1]) {
 s20 = getSS("GGtools", "20")
 nsnp = ncol(smList(s20)[[1]])
 s20f = MAFfilter(s20, lower=.1)
 nsnp2 = ncol(smList(s20f)[[1]])
 ( nsnp == 119921 & nsnp2 == 46755 )
}

Try the GGBase package in your browser

Any scripts or data that you put into this service are public.

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