UNPKG

bakana

Version:

Backend for kana's single-cell analyses. This supports single or multiple samples, execution in Node.js or the browser, in-memory caching of results for iterative analyses, and serialization to/from file for redistribution.

10 lines (7 loc) 279 B
import * as workers from "worker_threads"; export function createTsneWorker() { return new workers.Worker(new URL("../tsne.worker.js", import.meta.url)); } export function createUmapWorker() { return new workers.Worker(new URL("../umap.worker.js", import.meta.url)); }