-
Notifications
You must be signed in to change notification settings - Fork 5
feature_id from aligned_features not translated to NeatMS output #6
Comments
aligned_feature_table.csv |
Hi Drew, |
Good to know, thanks! Ill use the workaround in the meantime. |
Hi Yoann,
|
Hi Margot, As this is related to this issue, it is fine, we can continue discussing this here. To answer your first question, the minimum scan number is the only filter that is applied automatically indeed. Many other filters can be applied at the export stage, but the default behaviour won't filter anything out (I just realised the doc is not fully up to date on this and does not reflect the true default behaviour of the function, I will update it shortly). Assuming that you use default export parameters, the join you make should cover more than 45%. The only explanation I can think of without seeing the data itself would be the floating point precision. NeatMS uses float 32 to optimize memory usage. If R uses a higher precision, then the table join won't work. Could you check out the precision of the peaks (of the joining column) that cannot be matched and see if there is a difference? If you can send me the two dataframes I would be happy to look into it on my side as well. |
Hi Yoann, For the first question, thank you this makes sense, I just wanted to double check for my understanding. And to the second point I think you are correct and it is an issue of precision. When I round maxo, into and intb in both tables to 5 decimal places before matching only 53 out of 297,551 peaks in the NeatMS output are not matched (i.e. peak_id == NA). I checked a couple of the peaks that were not matched before which are now matched and they seem to make sense (i.e. m/z and rt are similar to input peak values). So I think this solves it, thank you! |
Hi there,
I have exported XCMS features from patRoon (rickhelmus/patRoon) and created an aligned feature list. After running NeatMS, the feature_id values that were originally in the aligned_features.csv are overridden with sequential numbers. Is it possible to keep the feature_id values throughout the analysis?
Thanks,
The text was updated successfully, but these errors were encountered: