diffFilter-methods {mscalib} | R Documentation |
Remove mass differences
Description
The function diffFilter
removes mass differences which can be
observed in the Massvectorlist-class
or Massvector-class
and are given in the
argument oby
.
Arguments
obx |
Massvectorlist-class or Massvector-class |
oby |
Massvector-class as obtained by the call to
function getdiff-methods and gamasses-methods |
higher |
default = TRUE – higher mass contributing to
the mass difference will be removed from the code. (lower otherwise) |
error |
How strongly a difference is allowed to deviate from the
difference provided by oby |
errorI |
|
prune |
default=TRUE – remove higher or lower mass or all
other masses otherwise |
Methods
- obx = "Massvectorlist", oby = "Massvector"
- ~~describe this method here
- obx = "Massvector", oby = "Massvector"
- ~~describe this method here
Author(s)
References
getdiff-methods
See Also
Examples
library(msbase)
library(mscalib)
data(pldata)
tmp <- getdiff(pldata[[1]],ra=c(0,100))
hist(tmp)
tmp <- gamasses(tmp,abund=4)
## now remove the higher mass which contributes
## to the mass difference from the dataset
diffFilter(pldata,tmp,higher=TRUE)
diffFilter(pldata[[1]],tmp,higher=TRUE)
[Package
mscalib version 1.0.1
Index]