Open julianu opened 4 months ago
What is the z-dimension in a conventional RT/mz-map? I think we just replicated some R-code that Stefan gave us
The z-dimension is the intensity. As this is arbitrary, it is not really fixed.
aaah I see yes, that makes sense. I will look into that
Do you mean like this? As far as I can see this only uses MS2-data at the moment.
Yes, something like that. But these are only the mz/RT points for each MS2 event, or what does it depict? What you basically need for the ionmap is a representation of the MS1 event per RT, so should be no big problem to create.
Ok, I will look into that with @Luxxii , because currently not all information needed is exported for MS1
Well, basically you just need to go through each MS1 and plot the values as a segment in the RT range and put all these together. That's all the information needed. Ho did you create the other plots? You basically need the same info for these, and could also use them and set the density to 0 or something.
The former plots just count how many MS2 were measured in a specific m/z and RT window. So it doesn't use the intensity.
Yes, we would need to export the MS1 information in the result table then, because at the end I only have this table and not the intermediate files (and I think we should leave it like this because in the future I could then plot older runs by pulling the data from the database).
Ah, ok, I thought these plots were the plots I described, as I only knew them under the name ionmap. If the plot with MS2 is also useful, we should probably give more accurate names.
Ok, I see, I will ask Stefan for a better name (because he suggested it based on an R script)
This would be an example with the current values we have in the data (ms1_map_rt_array, ms1_map_mz_array, ms1_map_intens_array). I reduce the datapoints to 1Mio, otherwise the plot takes ages to generate (the example QExHF file has around 16Mio data points). This is also not interactive, I would save them as pngs then.
Does this look okay? Any suggestions for improvement?
I added these plots in commit 19e7bb8
Would it not be more useful to have the "ion maps" more like conventional RT - m/z maps, instead of the density graphs? I assume, the common user would be more used to these.