R/AllClasses.R

setClass("iontree",
         representation(mz="numeric", rt="numeric", MS2="matrix", MS3="list"),
         validity=function(object){
                   if(length(object@mz)>2 | length(object@rt)>2)
                    stop("provide range or single number of mz and rt")
                  }
         )#S4 iontree

Try the iontree package in your browser

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

iontree documentation built on May 2, 2018, 2:55 a.m.