Mark Keller
Mark Keller
See https://github.com/gosling-lang/gosling.js/blob/master/editor/editor.tsx#L106
### ~~Do not require `type` in file definitions~~ (done in https://github.com/vitessce/vitessce/pull/1256) This would be a simple change and would be complementary to the other solutions, to remove `type` from the...
### Add "convenience" file types We could add "convenience" file types which expand one file definition into multiple file definitions. For example, we could add an `anndata.zarr` convenience file type:...
### Add "convenience" file types supporting `obsEmbedding` option with array value ```diff { "fileType": "anndata.zarr", "options": { "obsFeatureMatrix": "X", "obsIndex": "obs/index", "featureIndex": "var/index", + "obsEmbedding": [ + { "path": "obsm/X_umap",...
### Add data types corresponding to pre-defined `coordinationValues` objects At the very least, for cell-by-gene use cases, we would pre-define the `coordinationValues` for the following data types: - `cellIndex`, `cellColumn`,...
Here I am proposing that the expansion of "convenience" data types and file types happens at the view config [initialization](https://github.com/vitessce/vitessce/blob/master/src/app/view-config-utils.js#L122) stage, and then the internal usage or manipulation of the...
### Combining "convenience" file types and pre-defined `coordinationValues` objects These two solutions together might look like: - `anndataCellByGene.zarr` -> `{ obsType: "cell", featureType: "gene", featureValueType: "expression" }` The user would...
### Add view types corresponding to pre-defined `coordinationValues` objects Analogous to what I described above for __file types__, we could also pre-define coordination values for __view types__. We would also...
> There doesn't seem to be any string splitting mechanism in the PR I am not proposing any kind of string splitting, I think that could get very messy. I...
> I like the idea of convenience types but I think the JavaScript required to do this is just more stuff to maintain...Maybe it makes sense to allow the config...