Public
Edited
Jan 19, 2024
Insert cell
Insert cell
Insert cell
Inputs.table(search ? fuse.search(search).map((d) => d.item) : genes)
Insert cell
fuse.search("BRACA2")
Insert cell
fuse = new Fuse(genes, {
keys: ["name"]
})
Insert cell
Fuse = import("https://cdn.jsdelivr.net/npm/fuse.js@7.0.0/dist/fuse.mjs").then(
(m) => m.default
)
Insert cell
genes = FileAttachment("genes.tsv")
.text()
.then((text) =>
text.split("\n").map((row) => {
let [chr, start, end, name] = row.split("\t");
return {
chr,
start: Number(start),
end: Number(end),
name
};
})
)
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