I got a (hopefully small) request to have a way to remove peaks from an XCMSnSet object, similarly as could be done with xcms::peaks with the old xcmsSet interface. My main use case is to synchronize objects with those from patRoon. For now xcms:::.filterChromPeaks() does the job, but not quite ideal since it's not exported ;-) Ideally, this would leave grouping (features) intact.
Hi Rick! This is a very good suggestion indeed! I will make a filterChromPeaks method to allow filtering of peaks (and then obviously keeping the feature assignment correct).
Hey guys,
I got a (hopefully small) request to have a way to remove peaks from an
XCMSnSet
object, similarly as could be done withxcms::peaks
with the oldxcmsSet
interface. My main use case is to synchronize objects with those frompatRoon
. For nowxcms:::.filterChromPeaks()
does the job, but not quite ideal since it's not exported ;-) Ideally, this would leave grouping (features) intact.Thanks, Rick