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

[Feature Request] Save PyCytoData Metadata #19

Open
kevin931 opened this issue May 29, 2024 · 0 comments
Open

[Feature Request] Save PyCytoData Metadata #19

kevin931 opened this issue May 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kevin931
Copy link
Owner

What feature would you like to propose?

We should think about an easy interface to save and load the metadata in PyCytoData, especially the cell types and sample indices. Currently, only channel names and the expression matrices are saved, but if users performed cell-typing or they just wish to export a built-in dataset or import their own, we need to allow the full usage of PyCytoData.

Is your feature request related to a current problem? Please describe.
No.

How do you envision this feature to be implemented?

I think the new feature should satisfy the follow criteria:

  • It is plain-text based. We should not resort to fcs to do this.
  • No additional external dependencies. On the surface, pandas may sound like a good idea, but this is debatable and needs further consideration.
  • The saved metadata should have reasonable extensibility. We don't want to bloat the directory in the future, in case new metadata are added for future support.

This can live in the FileIO module or be part of the PyCytoData. If it allows the recontruction of a PyCytoData object, then the latter makes a lot sense.

Are there any existing alternatives or workarounds?
Technically yes, we can save metadata separately using any NumPy or python methods. But we don't have any documented or supported way of doing this.

@kevin931 kevin931 added the enhancement New feature or request label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant