Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation about Ionic mobility #404

Open
PierreSnell opened this issue Jun 27, 2023 · 2 comments
Open

Documentation about Ionic mobility #404

PierreSnell opened this issue Jun 27, 2023 · 2 comments

Comments

@PierreSnell
Copy link

PierreSnell commented Jun 27, 2023

When reading the documentation, I couldn't find anything about Ionic Mobility.

I got mzML data that I would like to load but the "classic/documentation" approach:

from pyopenms import MSExperiment, MzMLFile

exp: MSExperiment = MSExperiment()
mz_loader = MzMLFile()
mz_loader.load(str("/my/file/with/ims/file_hdmse.mzML"), exp)
exp.get_df(long=True)

Which is weird because it gives me the same rt and mass meaning that ionic mobility is here I just miss the column.

    RT      |   mz      | inty
0  8.615000 | 49.977417 | 0.0
1  8.615000 | 49.977417 | 0.0

only gives me rt, m/z and intensity (without the ionic mobility).

Looking at the get_df function, we would need to add a column for ionic mobility.

However, I couldn't find any getMobility like/related function from the docs...

Thanks in advance for any help,
Have a great day

@jpfeuffer
Copy link
Contributor

See my comment in OpenMS/OpenMS#4842

We can keep that issue open for a doc sprint.
If you want you can edit the docs once you figured out how to do it reliably.

The functions are available in the API docs (though pretty much undocumented) but no doc section exist.

@timosachsenberg
Copy link
Contributor

@jcharkow: can you add some documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants