mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 07:48:12 +08:00
934cc5c69b
* Added TS. Updated build and linting config. Added types. * [ts-migrate][.] Rename files from JS/JSX to TS/TSX Co-authored-by: ts-migrate <> * [ts-migrate][.] Run TS Migrate Co-authored-by: ts-migrate <> * Corrected files mangled by ts-migrate. * Updated lint config, minor linting. * Re-enabled Husky. * Updated tests and config. * Reverted webpack devtool config. * Removed obsolete snapshots. * Added annotations snap. * Updated tsconfig includes wrt linting. * Removed ts-migrate. Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com>
81 lines
1.6 KiB
TypeScript
81 lines
1.6 KiB
TypeScript
export const schema = {
|
|
schema: {
|
|
annotations: {
|
|
obs: {
|
|
columns: [
|
|
{
|
|
name: "name_0",
|
|
type: "string",
|
|
writable: false,
|
|
},
|
|
{
|
|
name: "n_genes",
|
|
type: "int32",
|
|
writable: false,
|
|
},
|
|
{
|
|
name: "percent_mito",
|
|
type: "float32",
|
|
writable: false,
|
|
},
|
|
{
|
|
name: "n_counts",
|
|
type: "float32",
|
|
writable: false,
|
|
},
|
|
{
|
|
name: "louvain",
|
|
type: "string",
|
|
writable: false,
|
|
},
|
|
],
|
|
index: "name_0",
|
|
},
|
|
var: {
|
|
columns: [
|
|
{
|
|
name: "name_0",
|
|
type: "string",
|
|
writable: false,
|
|
},
|
|
{
|
|
name: "n_cells",
|
|
type: "int32",
|
|
writable: false,
|
|
},
|
|
],
|
|
index: "name_0",
|
|
},
|
|
},
|
|
dataframe: {
|
|
nObs: 2638,
|
|
nVar: 1838,
|
|
type: "float32",
|
|
},
|
|
layout: {
|
|
obs: [
|
|
{
|
|
dims: ["draw_graph_fr_0", "draw_graph_fr_1"],
|
|
name: "draw_graph_fr",
|
|
type: "float32",
|
|
},
|
|
{
|
|
dims: ["pca_0", "pca_1"],
|
|
name: "pca",
|
|
type: "float32",
|
|
},
|
|
{
|
|
dims: ["tsne_0", "tsne_1"],
|
|
name: "tsne",
|
|
type: "float32",
|
|
},
|
|
{
|
|
dims: ["umap_0", "umap_1"],
|
|
name: "umap",
|
|
type: "float32",
|
|
},
|
|
],
|
|
},
|
|
},
|
|
};
|