mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
move common code into server, update tests and makefile (#2425)
* move common code into server, update tests and makefile remove backend directory, refactor update smoke tests
This commit is contained in:
11
test/__init__.py
Normal file
11
test/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import random
|
||||
import string
|
||||
from os import popen
|
||||
|
||||
PROJECT_ROOT = popen("git rev-parse --show-toplevel").read().strip()
|
||||
FIXTURES_ROOT = PROJECT_ROOT + "/test/fixtures"
|
||||
H5AD_FIXTURE = FIXTURES_ROOT + "/pbmc3k-CSC-gz.h5ad"
|
||||
|
||||
|
||||
def random_string(n):
|
||||
return "".join(random.choice(string.ascii_letters) for _ in range(n))
|
||||
31
test/decode_fbs.py
Normal file
31
test/decode_fbs.py
Normal file
@@ -0,0 +1,31 @@
|
||||
"""
|
||||
Code to decode, for testing purposes, the flatbuffer encoded blobs.
|
||||
|
||||
This code will need to be updated if fbs/matrix.fbs changes. For more information, see fbs/matrix.fbs and
|
||||
server/data_common/fbs/
|
||||
"""
|
||||
|
||||
import server.common.fbs.NetEncoding.Matrix as Matrix
|
||||
from server.common.fbs.matrix import deserialize_typed_array
|
||||
|
||||
|
||||
def decode_matrix_FBS(buf):
|
||||
"""
|
||||
Given a FBS Matrix, return an decoded Python dict containing same info in native format.
|
||||
NOTE / TODO: row_idx not currently implemented
|
||||
"""
|
||||
df = Matrix.Matrix.GetRootAsMatrix(buf, 0)
|
||||
n_rows = df.NRows()
|
||||
n_cols = df.NCols()
|
||||
|
||||
columns_length = df.ColumnsLength()
|
||||
|
||||
decoded_columns = []
|
||||
for col_idx in range(0, columns_length):
|
||||
col = df.Columns(col_idx)
|
||||
tarr = (col.UType(), col.U())
|
||||
decoded_columns.append(deserialize_typed_array(tarr))
|
||||
|
||||
cidx = deserialize_typed_array((df.ColIndexType(), df.ColIndex()))
|
||||
|
||||
return {"n_rows": n_rows, "n_cols": n_cols, "columns": decoded_columns, "col_idx": cidx, "row_idx": None}
|
||||
BIN
test/fixtures/1e4dfec4-c0b2-46ad-a04e-ff3ffb3c0a8f.h5ad
vendored
Normal file
BIN
test/fixtures/1e4dfec4-c0b2-46ad-a04e-ff3ffb3c0a8f.h5ad
vendored
Normal file
Binary file not shown.
0
test/fixtures/__init__.py
vendored
Normal file
0
test/fixtures/__init__.py
vendored
Normal file
BIN
test/fixtures/a95c59b4-7f5d-4b80-ad53-a694834ca18b.h5ad
vendored
Normal file
BIN
test/fixtures/a95c59b4-7f5d-4b80-ad53-a694834ca18b.h5ad
vendored
Normal file
Binary file not shown.
30
test/fixtures/dataset_config_outline.py
vendored
Normal file
30
test/fixtures/dataset_config_outline.py
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
f"""
|
||||
dataset:
|
||||
app:
|
||||
scripts: {scripts} #list of strs (filenames) or dicts containing keys
|
||||
inline_scripts: {inline_scripts} #list of strs (filenames)
|
||||
|
||||
presentation:
|
||||
max_categories: {max_categories}
|
||||
custom_colors: {custom_colors}
|
||||
|
||||
user_annotations:
|
||||
enable: {enable_users_annotations}
|
||||
type: {annotation_type}
|
||||
local_file_csv:
|
||||
directory: {local_file_csv_directory}
|
||||
file: {local_file_csv_file}
|
||||
gene_sets_file: {local_file_csv_gene_sets_file}
|
||||
gene_sets:
|
||||
readonly: {gene_sets_readonly}
|
||||
|
||||
embeddings:
|
||||
names: {embedding_names}
|
||||
|
||||
diffexp:
|
||||
enable: {enable_difexp}
|
||||
lfc_cutoff: {lfc_cutoff}
|
||||
top_n: {top_n}
|
||||
|
||||
X_approximate_distribution: {X_approximate_distribution}
|
||||
"""
|
||||
12
test/fixtures/fixtures.py
vendored
Normal file
12
test/fixtures/fixtures.py
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
pbmc3k_colors = {
|
||||
"louvain": {
|
||||
"B cells": "#2ca02c",
|
||||
"CD14+ Monocytes": "#ff7f0e",
|
||||
"CD4 T cells": "#1f77b4",
|
||||
"CD8 T cells": "#d62728",
|
||||
"Dendritic cells": "#e377c2",
|
||||
"FCGR3A+ Monocytes": "#8c564b",
|
||||
"Megakaryocytes": "#bcbd22",
|
||||
"NK cells": "#9467bd",
|
||||
}
|
||||
}
|
||||
BIN
test/fixtures/hgnc_example.txt.gz
vendored
Normal file
BIN
test/fixtures/hgnc_example.txt.gz
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/nan.h5ad
vendored
Normal file
BIN
test/fixtures/nan.h5ad
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/pbmc3k-CSC-gz.h5ad
vendored
Normal file
BIN
test/fixtures/pbmc3k-CSC-gz.h5ad
vendored
Normal file
Binary file not shown.
BIN
test/fixtures/pbmc3k-CSR-gz.h5ad
vendored
Normal file
BIN
test/fixtures/pbmc3k-CSR-gz.h5ad
vendored
Normal file
Binary file not shown.
2641
test/fixtures/pbmc3k-annotations.csv
vendored
Normal file
2641
test/fixtures/pbmc3k-annotations.csv
vendored
Normal file
File diff suppressed because it is too large
Load Diff
21
test/fixtures/pbmc3k-genesets.csv
vendored
Normal file
21
test/fixtures/pbmc3k-genesets.csv
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Test fixture
|
||||
gene_set_name,gene_set_description,gene_symbol,gene_description
|
||||
first gene set name,,F5, a gene_description
|
||||
first gene set name,a description,NO_SUCH_GENE, non-existent gene
|
||||
first gene set name,a description,F5, duplicate gene
|
||||
first gene set name, a description,SUMO3,
|
||||
first gene set name,,SRM,
|
||||
second_gene_set,,RER1
|
||||
second_gene_set,,SIK1
|
||||
third gene set,,NO_SUCH_GENE
|
||||
fourth_gene_set,fourth description,,gene intentionally missing
|
||||
fifth_dataset,,,
|
||||
summary test,,ACD,
|
||||
summary test,,AATF,
|
||||
summary test,,F5,
|
||||
summary test,,PIGU,
|
||||
geneset_to_delete,,,
|
||||
geneset_to_edit,,,
|
||||
fill_this_geneset,,,
|
||||
empty_this_geneset,,SIK1,
|
||||
brush_this_gene,,SIK1,
|
||||
|
BIN
test/fixtures/pbmc3k.cxg/X/__1587182255882_1587182255882_f7aa6ccb49a944f9ab9e25b11bbfab4f/__attr.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/X/__1587182255882_1587182255882_f7aa6ccb49a944f9ab9e25b11bbfab4f/__attr.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/X/__1587182255882_1587182255882_f7aa6ccb49a944f9ab9e25b11bbfab4f/__fragment_metadata.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/X/__1587182255882_1587182255882_f7aa6ccb49a944f9ab9e25b11bbfab4f/__fragment_metadata.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/X/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/X/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/X/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/X/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/__tiledb_group.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/__tiledb_group.tdb
vendored
Executable file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/cxg_group_metadata/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/cxg_group_metadata/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/cxg_group_metadata/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/cxg_group_metadata/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/cxg_group_metadata/__meta/__1587182255768_1587182255768_fa7617ae99f843929911e4bc7b03e3db
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/cxg_group_metadata/__meta/__1587182255768_1587182255768_fa7617ae99f843929911e4bc7b03e3db
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/emb/__tiledb_group.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/emb/__tiledb_group.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/draw_graph_fr/__1587182255875_1587182255875_e02a92b5d18f45e0a02031568f4633d4/__attr.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/draw_graph_fr/__1587182255875_1587182255875_e02a92b5d18f45e0a02031568f4633d4/__attr.tdb
vendored
Executable file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/emb/draw_graph_fr/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/draw_graph_fr/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/emb/draw_graph_fr/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/emb/draw_graph_fr/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/pca/__1587182255827_1587182255827_8aeb4df5c2a74918b7aeeb6d34632e24/__attr.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/pca/__1587182255827_1587182255827_8aeb4df5c2a74918b7aeeb6d34632e24/__attr.tdb
vendored
Executable file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/emb/pca/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/pca/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/emb/pca/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/emb/pca/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/tsne/__1587182255846_1587182255846_0b832c3ed3534b458e83c75726f2005f/__attr.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/tsne/__1587182255846_1587182255846_0b832c3ed3534b458e83c75726f2005f/__attr.tdb
vendored
Executable file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/emb/tsne/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/tsne/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/emb/tsne/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/emb/tsne/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/umap/__1587182255867_1587182255867_44955ba2220c4ad59bbdbb6b26e21428/__attr.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/umap/__1587182255867_1587182255867_44955ba2220c4ad59bbdbb6b26e21428/__attr.tdb
vendored
Executable file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/emb/umap/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/emb/umap/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/emb/umap/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/emb/umap/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/__fragment_metadata.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/__fragment_metadata.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/louvain.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/louvain.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/louvain_var.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/louvain_var.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/n_counts.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/n_counts.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/n_genes.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/n_genes.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/name_0.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/name_0.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/name_0_var.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/name_0_var.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/percent_mito.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__1587182255797_1587182255797_d3d57575169a48eaa00d2f709d0a534c/percent_mito.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/obs/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/obs/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/obs/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__meta/__1587182255787_1587182255787_e19a340576a340db85c37b61b83dbe57
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/obs/__meta/__1587182255787_1587182255787_e19a340576a340db85c37b61b83dbe57
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/__fragment_metadata.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/__fragment_metadata.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/n_cells.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/n_cells.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/name_0.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/name_0.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/name_0_var.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__1587182255773_1587182255773_12e07b1585a64ebe9d40098d67a8e8ad/name_0_var.tdb
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k.cxg/var/__array_schema.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__array_schema.tdb
vendored
Executable file
Binary file not shown.
0
test/fixtures/pbmc3k.cxg/var/__lock.tdb
vendored
Executable file
0
test/fixtures/pbmc3k.cxg/var/__lock.tdb
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__meta/__1587182255771_1587182255771_5a3a50f0b360403eab0e427c429f574e
vendored
Executable file
BIN
test/fixtures/pbmc3k.cxg/var/__meta/__1587182255771_1587182255771_5a3a50f0b360403eab0e427c429f574e
vendored
Executable file
Binary file not shown.
BIN
test/fixtures/pbmc3k_64.h5ad
vendored
Normal file
BIN
test/fixtures/pbmc3k_64.h5ad
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/X/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/X/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/X/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/X/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/__tiledb_group.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/__tiledb_group.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/emb/__tiledb_group.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/emb/__tiledb_group.tdb
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/emb/draw_graph_fr/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/emb/draw_graph_fr/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/emb/draw_graph_fr/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/emb/draw_graph_fr/__lock.tdb
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/emb/pca/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/emb/pca/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/emb/pca/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/emb/pca/__lock.tdb
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/emb/tsne/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/emb/tsne/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/emb/tsne/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/emb/tsne/__lock.tdb
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/emb/umap/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/emb/umap/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/emb/umap/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/emb/umap/__lock.tdb
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/obs/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/obs/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/obs/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/obs/__lock.tdb
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
test/fixtures/pbmc3k_v0.cxg/var/__array_schema.tdb
vendored
Normal file
BIN
test/fixtures/pbmc3k_v0.cxg/var/__array_schema.tdb
vendored
Normal file
Binary file not shown.
0
test/fixtures/pbmc3k_v0.cxg/var/__lock.tdb
vendored
Normal file
0
test/fixtures/pbmc3k_v0.cxg/var/__lock.tdb
vendored
Normal file
Binary file not shown.
83
test/fixtures/schema.json
vendored
Normal file
83
test/fixtures/schema.json
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"dataframe": {
|
||||
"nObs": 2638,
|
||||
"nVar": 1838,
|
||||
"type": "float32"
|
||||
},
|
||||
"annotations": {
|
||||
"obs": {
|
||||
"index": "name_0",
|
||||
"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": "categorical",
|
||||
"categories": [
|
||||
"CD4 T cells",
|
||||
"CD14+ Monocytes",
|
||||
"B cells",
|
||||
"CD8 T cells",
|
||||
"NK cells",
|
||||
"FCGR3A+ Monocytes",
|
||||
"Dendritic cells",
|
||||
"Megakaryocytes"
|
||||
],
|
||||
"writable": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"var": {
|
||||
"index": "name_0",
|
||||
"columns": [
|
||||
{
|
||||
"name": "name_0",
|
||||
"type": "string",
|
||||
"writable": false
|
||||
},
|
||||
{
|
||||
"name": "n_cells",
|
||||
"type": "int32",
|
||||
"writable": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"layout": {
|
||||
"obs": [
|
||||
{
|
||||
"name": "umap",
|
||||
"type": "float32",
|
||||
"dims": ["umap_0", "umap_1"]
|
||||
},
|
||||
{
|
||||
"name": "tsne",
|
||||
"type": "float32",
|
||||
"dims": ["tsne_0", "tsne_1"]
|
||||
},
|
||||
{
|
||||
"name": "pca",
|
||||
"type": "float32",
|
||||
"dims": ["pca_0", "pca_1"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user