sneumann / xcms

This is the git repository matching the Bioconductor package xcms: LC/MS and GC/MS Data Analysis
Other
188 stars 80 forks source link

Add new plotPrecursorIons function and address issue #742 #743

Closed jorainer closed 5 months ago

jorainer commented 7 months ago

In this PR:

Unit tests and documentation included.

jorainer commented 7 months ago

@sneumann , I leave it up to you whether we want this small updates to be included in the upcoming release version or not...

philouail commented 7 months ago

Sorry @jorainer I just tested locally and realized something is wrong.

Can you also update the functions-Params.R document (line 239) to allow for NAs in sampleGroups ?

jorainer commented 7 months ago

good catch @philouail ! I've changed it now.

jorainer commented 7 months ago

Changed to draft because there seem to be some problems...

jorainer commented 6 months ago

OK, now we have also a fix for a bug that Phili spotted when testing the code (although the bug was not related to the present code).

jorainer commented 6 months ago

@sneumann , can you please have a look at this PR and eventually merge if you're OK?

sneumann commented 5 months ago

Looks good, thanks! I haven't tested if there is any fallout if the PeakDensityParam() handling NAs in other downstream functions, like peak filling or plotting, is there any "worst-case" this could lead to unexpected/degenerate feature groups violating assumptions we take for granted ? Yours, Steffen

jorainer commented 5 months ago

There shouldn't be any issue - no other function/method uses this parameter - and the PeakDensityParam() handles it well - so, should be all good, thanks.