-
Notifications
You must be signed in to change notification settings - Fork 7
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
Handling "Non-Standard" AnnData Zarr Data #15
Comments
Yes |
When reading straight from JS, I think it may be helpful if the options object is reversed:
and
|
I was just typing that...the sets example was making me think that the direction was wrong in how I laid things out... I am still not a fan of magic strings but I like where it's headed. I think we should try to cover our bases in Python around customization as much as possible and then port it to Javascript/JSON since once it's out in JS, we can't take it back whereas here we have a bit of a sandbox here to play in. I'll try loading Matt's datasets as well as going out and looking for others on the internet. |
When these are the values rather than the keys, we don't need to use magic strings, we can use arrays like |
Maybe
where each element of "sets" is a path to the column that should be used to define each cell set hierarchy |
I was referring more to |
Ah I see. Actually then something more like the cell-sets-tabular schema may be better https://github.com/hubmapconsortium/vitessce/blob/master/src/schemas/cell-sets-tabular.schema.json Maybe
where This has the benefit of easily supporting the prediction score/confidence values as well. |
I will close this now that we have vitessce/vitessce#807 and open a new issue for integrating it here |
Related to vitessce/vitessce#713, but this line for example
vitessce-python/vitessce/wrappers.py
Lines 312 to 313 in 816e47d
is for a custom part of the AnnData so we should probably not have it as a standard loadable object. Am I wrong? I can't find any documentation for
CellType
on the website. This part of the documentation lays out how to use__categories/MY_CATEGORY
(which is part of the zarr store) but also has a reference tocell_type
.I am coming across this stuff as I write the JSON API for declaring parts of AnnData store for usage in Vitessce. It's tricky because it's not clear what we should have - for example, for
spatial
you might have something likeWhere the correspondence between our JSON schema terminology and this config is one to one but then for something like
you don't have such a nice correspondence at which point you are dealing with "magic" strings.
I think the reason I am mentioning this hear is that we probably want to harmonize the terminology we use for custom parts of the store across languages. Thoughts?
The text was updated successfully, but these errors were encountered: