feat: add support for Chromatograms to chromatogram - #837
Conversation
- `chromatogram,XcmsExperiment` and `chromatogram,MsExperiment` now allow to return the results as a `Chromatograms` object.
|
@philouail , can you please have a look. I will work also on the |
philouail
left a comment
There was a problem hiding this comment.
looks completely fine to me, just that one comment. thanks
| #' | ||
| #' @param dataOrigin `character` with the **unique** file names/data origin. | ||
| #' | ||
| #' @param isolationWindowTargetMz optional `numeric` of length equal to the |
There was a problem hiding this comment.
maybe add @PARAM msLevel precising that it will be rep() to the length of the object
- `chromPeakChromatograms()` can also return the EICs as a `Chromatograms` object.
- `featureChromatograms()` can now also return the results as a `Chromatograms` object.
|
OK, @philouail , now it's ready for review. |
- Add support for `Chromatograms` to the `XcmsExperimentHdf5` result object. - Add new methods `featureChromPeaks()` and `featurePeakidx()` to access the mapping between features and chromatographic peaks.
|
Note: |
|
@sneumann , this PR is ready for review - and merge. it adds support for the new |
- Fix for issue #839: `chromPeakData<-` for `XcmsExperiment` supports `data.frame` and `DataFrame` as input.
|
Includes now also the fix for #839 |
- Import `group()` from BiocGenerics to avoid overriding.
| features = character(), | ||
| mzmin = min, mzmax = max, | ||
| rtmin = min, rtmax = max, | ||
| chunkSize = 2L, ..., |
There was a problem hiding this comment.
I didn't know you can mix ... into the middle of named parameters.
| MetaboCoreUtils (>= 1.11.2), | ||
| data.table | ||
| data.table, | ||
| Chromatograms (>= 1.3.3) |
There was a problem hiding this comment.
BioC devel currently has Chromatograms 1.3.2, but the PR works if installed from GH.
chromatogram,XcmsExperimentandchromatogram,MsExperimentnow allow to return the results as aChromatogramsobject.