Function to extract m/z and intensity from each scan of Mass Spectrum

Description

Return mass/charge ration, absolute intensity and relative intensity for the given peak.

Usage

1
IndiMsScan(x, i)

Arguments

x

MassSpectrm slot of S4 class parse.Shimadzu.

i

series number of peaks which you want to plot

Details

Function to extract m/z and intensity from each scan of Mass Spectrum

Value

Return a data.frame of mass/charge ration, absolute intensity and relative intensity

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x, i) 
{
    y <- data.frame(x[[i]]$b)
    colnames(y) <- c("mass", "absolute", "relative")
    return(y)
  }

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.