\HeaderA{featureFilter}{remove unannotated or undesired features from an smlSet instance}{featureFilter}
\keyword{models}{featureFilter}
\begin{Description}\relax
remove unannotated or undesired features from an smlSet instance
\end{Description}
\begin{Usage}
\begin{verbatim}
featureFilter(x, requires = c("loc", "autosomal"))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] instance of smlSet class

\item[\code{requires}] character vector -- if "loc" is present, require that a
non-NA value is present in CHRLOC for each feature;
if "autosomal" is present, require that CHR value is in 1:22
(presently assumes human genome)

\end{ldescription}
\end{Arguments}
\begin{Value}
revised smlSet instance excluding features no
\end{Value}
\begin{Author}\relax
VJ Carey
\end{Author}
\begin{Examples}
\begin{ExampleCode}
library(GGtools)
if (!exists("hmceuB36.2021")) data(hmceuB36.2021)
dim(exprs(hmceuB36.2021))
ff = featureFilter(hmceuB36.2021)
dim(exprs(ff))
\end{ExampleCode}
\end{Examples}

