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

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more