R/rawToPeaks.R

Defines functions rawToPeaks

Documented in rawToPeaks

rawToPeaks <- function(mz, I){
   
  d <- vector(mode = "list", length = ncol(I))
  
  for (i in 1:ncol(I)){
    d[[i]] <- createMassPeaks(mz, I[,i]) 
  }
  
  names(d) <- colnames(I)
  
  return(d)

}

Try the MALDIrppa package in your browser

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

MALDIrppa documentation built on March 29, 2022, 1:05 a.m.