Public
Edited
Sep 27, 2023
Insert cell
Insert cell
zarritaResult = {
// Create a store
const store = new zarr.FetchStore(url);

// Open a zarr.Array
const arr = await zarr.open(zarr.root(store).resolve(path), { kind: "array" });
return zarr.get(arr);
}
Insert cell
zarrJsResult = {
const store = new zarrJs.HTTPStore(url);
const arr = await zarrJs.openArray({ store, path, mode: 'r' });
return arr.get();
}
Insert cell
zarr = import("https://cdn.jsdelivr.net/npm/zarrita@next/+esm")
Insert cell
Insert cell
path = "/var/marker_genes_for_heatmap"
Insert cell
zarrJs = import("https://esm.sh/zarr")
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more