vitessceR icon indicating copy to clipboard operation
vitessceR copied to clipboard

No JSON when exported

Open davidlin-stemcell opened this issue 2 years ago • 2 comments

Describe the bug using vc$export("[out dir]"), None of the cells.json, cell-sets.json, and clusters.json are found in the output directory. Only folders with vitessce config datasets are found.

To Reproduce Tested with the example (https://vitessce.github.io/vitessceR/articles/seuratdata.html) as well as own data. Both do not work. Following the procedure here: https://vitessce.github.io/vitessceR/articles/export_files.html?q=export#export-files-for-serving-locally

Expected behavior cells.json, cell-sets.json, and clusters.json should appear in the output folder

Screenshots image

Environment:

  • Release or git hash: VitessceR_0.99.0
  • Operating system: Windows 10
  • R version: 4.2.1
  • RStudio version: 2022.07.2+576

davidlin-stemcell avatar Dec 05 '22 21:12 davidlin-stemcell

It's possible there's a bug. Without your code specifically it's tough to say (it sounds like you customized the exporting demo) - have you confirmed with the with_config = TRUE argument, you still get this behavior? I also think the config would be at the root, probably output, and not in this file directory.

ilan-gold avatar Dec 06 '22 08:12 ilan-gold

I think the "Export data to static files" page is out of date. Seurat objects were previously converted to JSON format, but are now converted to Zarr, as Zarr is more efficient (supports compression etc).

keller-mark avatar Dec 06 '22 14:12 keller-mark