-
Notifications
You must be signed in to change notification settings - Fork 25
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
MS-imaging support / MsBackendImzML #322
Comments
Hey @RogerGinBer ! that sounds like a great backend! hm, so, the x and y coordinates are per spectrum, right? so, like you said, you extract them and put them into the I am a bit hesitant adding additional core spectra variables if not absolutely needed - because all methods we have so far will by default initialize them with For the names, I would use what is commonly used in the MS-imaging field - and maybe, to be consistent with the core spectra variables, use camelCase for the name. Maybe alternatives would/could be Another suggestion: from own experience I would suggest to use a |
Most definitely! My issue here was mostly about agreeing about the variable names so we wouldn't have to change them in the future. I agree that they should definitely not be a core spectra variable. Regarding naming, Am I right to understand that there's no easy way to add new generics, getters and setters of backend-custom variables (ie. Also, nice tip about |
OK, then let's go with and it would of course be possible to add generics without defining core spectra variables to You think it would be important (or better/easier) in your analysis workflow to have a function or method for |
Hi there!
In our research group we are actively working with MS-imaging (MSI) data and I was wondering about how to properly name and add the spatial coordinates information to a
MsBackend
object and whether we should also define generics for them inSpectra
.Basically, for each MSI spectra, you have a pair of x and y coordinates, so it seems natural to add them as
spectraData
in two separate columnsFor context, I recently created a new backend (WIP) for imzML/ibd files (https://github.com/RogerGinBer/MsBackendImzML), which parses imzML files and saves each scan information (similar to
header
in mzR) and offsets in a DFrame asSpectraData
. The actualpeaksData
is retrieved on-demand from the ibd files.Provisionally, I'm saving the x and y coordinates as
xPixel
andyPixel
(becausex
andy
were too generic IMO), but since this information may also appear in other backends that can/could handle MS-imaging data (thinking ofMsBackendTimsTof
, but also maybeMsBackendRawFileReader
), I think I'd be nice if we could do some brainstorming about thisThe text was updated successfully, but these errors were encountered: