\HeaderA{MAFfilter}{restrict SNP in an smlSet to range of minor allele frequencies (MAF)}{MAFfilter}
\keyword{models}{MAFfilter}
\begin{Description}\relax
restrict SNP in an smlSet to range of minor allele frequencies (MAF)
\end{Description}
\begin{Usage}
\begin{verbatim}
MAFfilter(x, lower = 0, upper = 1)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] smlSet instance

\item[\code{lower}] numeric lower bound on minor allele frequency for keeping a SNP

\item[\code{upper}] numeric upper bound on minor allele frequency for keeping a SNP

\end{ldescription}
\end{Arguments}
\begin{Details}\relax
uses \code{\LinkA{snp.matrix-class}{snp.matrix.Rdash.class}} summary method from snpMatrix
\end{Details}
\begin{Value}
revised instance of \code{\LinkA{smlSet-class}{smlSet.Rdash.class}}
\end{Value}
\begin{Author}\relax
VJ Carey \textless{}stvjc@channing.harvard.edu\textgreater{}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
library(GGtools)
if (!exists("hmceuB36.2021")) data(hmceuB36.2021)
sapply(smList(MAFfilter(hmceuB36.2021, lower=.1)), dim)
\end{ExampleCode}
\end{Examples}

