R/lines-methods.R

## AbstractMassObject
setMethod(f="lines",
    signature=signature(x="AbstractMassObject"),
    definition=function(x,
        type=ifelse(isMassPeaks(x), "h", "l"),
        ...) {

    lines(x=x@mass, y=x@intensity, type, ...)
})

Try the MALDIquant package in your browser

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

MALDIquant documentation built on March 31, 2023, 10:40 p.m.