Description Usage Arguments Value Examples
Return the peaks corresponding ot a group given by his index.
1 2 | ## 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
.
1 2 3 4 5 6 7 8 9 10 | 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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.