cellxgene
cellxgene copied to clipboard
Unloading / loading h5ad files on the fly inside cellxgene client GUI
Is your feature request related to a problem? Please describe. No
Describe the solution you'd like I have a collection of hundred of h5ad files. Instead of spinning up hundred of cellxgene instances, I'd like to have the ability to select one from a list of available h5ad files to load in real time. The server side should unload previous data and load the newly selected data set and then refresh client side to reflect the change.
Describe alternatives you've considered N/A
Additional context N/A
Hi @baohongz , please try running cellxgene with the --dataroot option.
For example, if my datasets are in a folder arathi_datasets
, I would run cellxgene launch --dataroot arathi_datasets
. Then I can go to localhost:5000/d/dataset_in_folder.h5ad
.
Does the --dataroot
option require that all datasets are already present at the specified location when the app is launched? Or can I start the app and then add datasets on-the-fly?
--dataroot is no longer available in version > 1.0. Could you please add this option back?