man/spectralAnova.Rd
6c5563f7
 \name{spectralAnova}
 \alias{spectralAnova}
 \title{Extract significant features from a MAIT object}
 \description{
 Function spectralAnova takes an \code{\link{MAIT-class}} object and obtains which of the variables are significant given a p-value threshold. The parameters of the significant features can ve printed to an output table (TRUE by default).
 }
 \usage{
 
 spectralAnova(pvalue = 0.05, 
               p.adj="none",
               MAIT.object = NULL, 
               printCSVfile = TRUE)
 }
 \arguments{
   \item{MAIT.object}{
 A \link{MAIT-class} object where function \link{peakAggregation} has already been applied. The output of the function is going to be an update of the same \link{MAIT-class} object.
 }
   \item{pvalue}{
 P-value threshold. Variables having a p-value lower than this value is considered as a significant variable.
 }
 
   \item{p.adj}{
 Post-hoc method to be used to correct the p-values.
 }
 
   \item{printCSVfile}{
 Set to TRUE if an output table has to be produced. See function \link{sigPeaksTable} for more information.
 }
 
 }
 \value{
   A \link{MAIT-class} object containing the significant features of the scores slot of \link{MAIT-class} object used as an input.
 }
 \seealso{
   \code{\link{MAIT-class}} \code{\link{peakAggregation}} \code{\link{sigPeaksTable}}
 }
 \author{Francesc Fernandez,
  \email{[email protected]}}
 \keyword{file}
 \keyword{internal}