peaksGroup,proFIAset-method {proFIA} | R Documentation |
Return the peaks corresponding ot a group given by his index.
## S4 method for signature 'proFIAset' peaksGroup(object, index = NULL)
object |
A proFIAset object. |
index |
A numeric vector r giving the group to be returned. NA are ignored. |
The peaks in the given group, see proFIAset-class
.
if(require(plasFIA)){ data(plasSet) data(plasMols) #finding the molecules of plasMols vmatch<-findMzGroup(plasSet,mz=plasMols[,"mass_M+H"],tol=5) mol_peaks<-peaksGroup(plasSet,index=vmatch) head(mol_peaks) }