R/getPeaklist-methods.R

setMethod(f="getPeaklist",signature="MAIT",
          function(object) {
            if(class(rawData(object)[[1]])=="xsAnnotate"){
              return(CAMERA::getPeaklist(rawData(object)[[1]]))}else{
              }
            stop("Peak annotation has not been performed. Run function peakAnnotation first.")
          }
            )

Try the MAIT package in your browser

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

MAIT documentation built on Nov. 8, 2020, 5:43 p.m.