pyopenms_viz
pyopenms_viz copied to clipboard
how to draw TIC on rt dimension (if y-axis is RT)
doesn't look right because RT should give rise to the TIC
This can be done by specifying the y_kind / x_kind
df.plot(kind="peakmap", x="feature_mz", y="feature_rt",
z="feature_intensity",
xlabel = "m/z",
ylabel = "rt",
y_kind = "chromatogram", x_kind = "spectrum",
aggregate_duplicates=True, add_marginals=True, **kwargs)
@Imama-Kainat I think you are working on updating the parameters for the doc right? Can you please make sure this is documented as well, and make a note that y_kind / x_kind is only relevant for kind peakmap and if add_marginals is set to True.
@singjc @timosachsenberg I would be happy to help you on this!
Added the note. You can review the PR. Let me know if I need to make any other changes.