canergen commited on
Commit
02678ec
·
verified ·
1 Parent(s): f702766

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -35,3 +35,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  OnClass.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
37
  minified_ref_adata.h5ad filter=lfs diff=lfs merge=lfs -text
 
 
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  OnClass.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
37
  minified_ref_adata.h5ad filter=lfs diff=lfs merge=lfs -text
38
+ faiss_index.index filter=lfs diff=lfs merge=lfs -text
39
+ harmony_knn_classifier.index filter=lfs diff=lfs merge=lfs -text
40
+ scvi_knn_classifier.index filter=lfs diff=lfs merge=lfs -text
OnClass.data-00000-of-00001 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ab8012697ab2fa672aba4fce647722ad25f1e7b5192dc457d8697a2cb70ce92
3
  size 27239224
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338e6fbafc0627061b4767545f1828457522dcebae7b0100b44e260e49beb88d
3
  size 27239224
OnClass.index CHANGED
Binary files a/OnClass.index and b/OnClass.index differ
 
OnClass.meta CHANGED
Binary files a/OnClass.meta and b/OnClass.meta differ
 
OnClass.npz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7788fbe3161c0d7c0a4309b22154cddff5691a0c97d7c810db2df8a4ae71460c
3
- size 144112626
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f49d1f1821a751b7f318dae50c62b4fd19bb987f13e58959aa782ac83458aeb9
3
+ size 144112636
README.md DELETED
@@ -1,68 +0,0 @@
1
- ---
2
- library_name: popV
3
- license: cc-by-4.0
4
- tags:
5
- - biology
6
- - genomics
7
- - single-cell
8
- - anndata_version:0.11.3
9
- - python_version:3.11.11
10
- - popV
11
- - 'tissue: diverse'
12
- ---
13
-
14
- Popular Vote (popV) model for automated cell type annotation of single-cell RNA-seq data. We provide here pretrained models
15
- for plug-in use in your own analysis.
16
- Follow our [tutorial](https://github.com/YosefLab/popV/blob/main/tabula_sapiens_tutorial.ipynb) to learn how to use the model for cell type annotation.
17
-
18
- # Model description
19
-
20
- Tabula Sapiens is a benchmark, first-draft human cell atlas of over 1.1M cells from 28 organs of 24 normal human subjects. This work is the product of the Tabula Sapiens Consortium. Taking the organs from the same individual controls for genetic background, age, environment, and epigenetic effects, and allows detailed analysis and comparison of cell types that are shared between tissues.
21
-
22
- **Link to CELLxGENE**:
23
- Link to the [data](https://cellxgene.cziscience.com/e/5a11f879-d1ef-458a-910c-9b0bdfca5ebf.cxg/) in the CELLxGENE browser for interactive exploration of the data and download of the source data.
24
-
25
- **Training Code URL**:
26
- Not provided by uploader.
27
-
28
- # Metrics
29
-
30
- We provide here accuracies for each of the experts and the ensemble model. The validation set accuracies are
31
- computed on a 10% random subset of the data that was not used for training.
32
-
33
- | Cell Type | N cells | celltypist | knn bbknn | knn harmony | knn on scvi | onclass | scanvi | svm | xgboost | Consensus Prediction |
34
- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
35
- | endothelial cell | 3164 | 0.80 | 0.79 | 0.82 | 0.69 | 0.00 | 0.63 | 0.75 | 0.81 | 0.86 |
36
- | capillary endothelial cell | 1500 | 0.78 | 0.73 | 0.77 | 0.54 | 0.00 | 0.59 | 0.74 | 0.79 | 0.81 |
37
- | cardiac endothelial cell | 964 | 0.98 | 0.95 | 0.89 | 0.51 | 0.00 | 0.35 | 0.96 | 0.97 | 0.98 |
38
- | vein endothelial cell | 470 | 0.53 | 0.18 | 0.58 | 0.27 | 0.00 | 0.41 | 0.51 | 0.57 | 0.61 |
39
- | endothelial cell of artery | 331 | 0.64 | 0.59 | 0.73 | 0.48 | 0.00 | 0.54 | 0.61 | 0.67 | 0.70 |
40
- | endothelial cell of lymphatic vessel | 254 | 0.70 | 0.64 | 0.70 | 0.60 | 0.00 | 0.61 | 0.70 | 0.74 | 0.74 |
41
- | retinal blood vessel endothelial cell | 178 | 0.52 | 0.01 | 0.54 | 0.10 | 0.00 | 0.00 | 0.57 | 0.61 | 0.59 |
42
- | endothelial cell of vascular tree | 75 | 0.57 | 0.03 | 0.38 | 0.58 | 0.00 | 0.55 | 0.53 | 0.65 | 0.72 |
43
- | colon endothelial cell | 24 | 0.59 | 0.22 | 0.62 | 0.18 | 0.00 | 0.00 | 0.34 | 0.39 | 0.70 |
44
- | endothelial cell of arteriole | 9 | 0.00 | 0.00 | 0.18 | 0.00 | 0.00 | 0.05 | 0.30 | 0.38 | 0.20 |
45
- | endothelial cell of venule | 1 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
46
-
47
- The train accuracies are computed on the training data.
48
-
49
- | Cell Type | N cells | celltypist | knn bbknn | knn harmony | knn on scvi | onclass | scanvi | svm | xgboost | Consensus Prediction |
50
- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
51
- | endothelial cell | 30194 | 0.78 | 0.74 | 0.90 | 0.78 | 0.00 | 0.88 | 0.73 | 0.79 | 0.91 |
52
- | capillary endothelial cell | 13774 | 0.77 | 0.62 | 0.86 | 0.69 | 0.00 | 0.84 | 0.74 | 0.79 | 0.86 |
53
- | cardiac endothelial cell | 9113 | 0.97 | 0.88 | 0.91 | 0.69 | 0.00 | 0.97 | 0.95 | 0.96 | 0.99 |
54
- | vein endothelial cell | 4218 | 0.48 | 0.08 | 0.74 | 0.46 | 0.00 | 0.65 | 0.51 | 0.55 | 0.69 |
55
- | endothelial cell of artery | 3130 | 0.62 | 0.42 | 0.80 | 0.62 | 0.00 | 0.64 | 0.60 | 0.67 | 0.74 |
56
- | endothelial cell of lymphatic vessel | 2160 | 0.65 | 0.61 | 0.83 | 0.70 | 0.00 | 0.75 | 0.67 | 0.69 | 0.76 |
57
- | retinal blood vessel endothelial cell | 1881 | 0.48 | 0.00 | 0.75 | 0.30 | 0.00 | 0.98 | 0.58 | 0.63 | 0.88 |
58
- | endothelial cell of vascular tree | 786 | 0.52 | 0.00 | 0.74 | 0.65 | 0.00 | 0.79 | 0.56 | 0.64 | 0.75 |
59
- | colon endothelial cell | 285 | 0.34 | 0.01 | 0.67 | 0.29 | 0.00 | 0.91 | 0.48 | 0.56 | 0.88 |
60
- | endothelial cell of arteriole | 98 | 0.00 | 0.00 | 0.60 | 0.07 | 0.00 | 0.74 | 0.36 | 0.71 | 0.94 |
61
- | endothelial cell of venule | 40 | 0.00 | 0.00 | 0.22 | 0.00 | 0.00 | 0.66 | 0.48 | 0.76 | 0.93 |
62
-
63
- </details>
64
-
65
-
66
- # References
67
-
68
- Tabula Sapiens reveals transcription factor expression, senescence effects, and sex-specific features in cell types from 28 human organs and tissues, The Tabula Sapiens Consortium; bioRxiv, doi: https://doi.org/10.1101/2024.12.03.626516
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
accuracies.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "query_accuracy": "| Cell Type | N cells | celltypist | knn bbknn | knn harmony | knn on scvi | onclass | scanvi | svm | xgboost | Consensus Prediction |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| endothelial cell | 3164 | 0.80 | 0.79 | 0.82 | 0.69 | 0.00 | 0.63 | 0.75 | 0.81 | 0.86 |\n| capillary endothelial cell | 1500 | 0.78 | 0.73 | 0.77 | 0.54 | 0.00 | 0.59 | 0.74 | 0.79 | 0.81 |\n| cardiac endothelial cell | 964 | 0.98 | 0.95 | 0.89 | 0.51 | 0.00 | 0.35 | 0.96 | 0.97 | 0.98 |\n| vein endothelial cell | 470 | 0.53 | 0.18 | 0.58 | 0.27 | 0.00 | 0.41 | 0.51 | 0.57 | 0.61 |\n| endothelial cell of artery | 331 | 0.64 | 0.59 | 0.73 | 0.48 | 0.00 | 0.54 | 0.61 | 0.67 | 0.70 |\n| endothelial cell of lymphatic vessel | 254 | 0.70 | 0.64 | 0.70 | 0.60 | 0.00 | 0.61 | 0.70 | 0.74 | 0.74 |\n| retinal blood vessel endothelial cell | 178 | 0.52 | 0.01 | 0.54 | 0.10 | 0.00 | 0.00 | 0.57 | 0.61 | 0.59 |\n| endothelial cell of vascular tree | 75 | 0.57 | 0.03 | 0.38 | 0.58 | 0.00 | 0.55 | 0.53 | 0.65 | 0.72 |\n| colon endothelial cell | 24 | 0.59 | 0.22 | 0.62 | 0.18 | 0.00 | 0.00 | 0.34 | 0.39 | 0.70 |\n| endothelial cell of arteriole | 9 | 0.00 | 0.00 | 0.18 | 0.00 | 0.00 | 0.05 | 0.30 | 0.38 | 0.20 |\n| endothelial cell of venule | 1 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |",
3
- "ref_accuracy": "| Cell Type | N cells | celltypist | knn bbknn | knn harmony | knn on scvi | onclass | scanvi | svm | xgboost | Consensus Prediction |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| endothelial cell | 30194 | 0.78 | 0.74 | 0.90 | 0.78 | 0.00 | 0.88 | 0.73 | 0.79 | 0.91 |\n| capillary endothelial cell | 13774 | 0.77 | 0.62 | 0.86 | 0.69 | 0.00 | 0.84 | 0.74 | 0.79 | 0.86 |\n| cardiac endothelial cell | 9113 | 0.97 | 0.88 | 0.91 | 0.69 | 0.00 | 0.97 | 0.95 | 0.96 | 0.99 |\n| vein endothelial cell | 4218 | 0.48 | 0.08 | 0.74 | 0.46 | 0.00 | 0.65 | 0.51 | 0.55 | 0.69 |\n| endothelial cell of artery | 3130 | 0.62 | 0.42 | 0.80 | 0.62 | 0.00 | 0.64 | 0.60 | 0.67 | 0.74 |\n| endothelial cell of lymphatic vessel | 2160 | 0.65 | 0.61 | 0.83 | 0.70 | 0.00 | 0.75 | 0.67 | 0.69 | 0.76 |\n| retinal blood vessel endothelial cell | 1881 | 0.48 | 0.00 | 0.75 | 0.30 | 0.00 | 0.98 | 0.58 | 0.63 | 0.88 |\n| endothelial cell of vascular tree | 786 | 0.52 | 0.00 | 0.74 | 0.65 | 0.00 | 0.79 | 0.56 | 0.64 | 0.75 |\n| colon endothelial cell | 285 | 0.34 | 0.01 | 0.67 | 0.29 | 0.00 | 0.91 | 0.48 | 0.56 | 0.88 |\n| endothelial cell of arteriole | 98 | 0.00 | 0.00 | 0.60 | 0.07 | 0.00 | 0.74 | 0.36 | 0.71 | 0.94 |\n| endothelial cell of venule | 40 | 0.00 | 0.00 | 0.22 | 0.00 | 0.00 | 0.66 | 0.48 | 0.76 | 0.93 |"
4
  }
 
1
  {
2
+ "query_accuracy": "| Cell Type | N cells | celltypist | knn bbknn | knn harmony | knn on scvi | onclass | scanvi | svm | xgboost | Consensus Prediction |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| endothelial cell | 3145 | 0.82 | 0.79 | 0.83 | 0.68 | 0.00 | 0.63 | 0.72 | 0.79 | 0.85 |\n| capillary endothelial cell | 1486 | 0.79 | 0.74 | 0.80 | 0.58 | 0.00 | 0.55 | 0.72 | 0.77 | 0.81 |\n| cardiac endothelial cell | 998 | 0.98 | 0.97 | 0.90 | 0.54 | 0.00 | 0.03 | 0.97 | 0.96 | 0.99 |\n| vein endothelial cell | 481 | 0.48 | 0.16 | 0.58 | 0.19 | 0.00 | 0.38 | 0.48 | 0.53 | 0.58 |\n| endothelial cell of artery | 357 | 0.65 | 0.60 | 0.73 | 0.52 | 0.00 | 0.51 | 0.60 | 0.66 | 0.72 |\n| endothelial cell of lymphatic vessel | 218 | 0.63 | 0.63 | 0.69 | 0.62 | 0.00 | 0.46 | 0.61 | 0.62 | 0.64 |\n| retinal blood vessel endothelial cell | 177 | 0.55 | 0.01 | 0.52 | 0.05 | 0.00 | 0.02 | 0.58 | 0.62 | 0.54 |\n| endothelial cell of vascular tree | 77 | 0.53 | 0.07 | 0.48 | 0.20 | 0.00 | 0.53 | 0.56 | 0.67 | 0.74 |\n| colon endothelial cell | 23 | 0.24 | 0.07 | 0.50 | 0.08 | 0.00 | 0.14 | 0.30 | 0.39 | 0.47 |\n| endothelial cell of arteriole | 6 | 0.00 | 0.00 | 0.29 | 0.00 | 0.00 | 0.19 | 0.22 | 0.71 | 0.50 |\n| endothelial cell of venule | 2 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.07 | 0.00 | 0.00 |",
3
+ "ref_accuracy": "| Cell Type | N cells | celltypist | knn bbknn | knn harmony | knn on scvi | onclass | scanvi | svm | xgboost | Consensus Prediction |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| endothelial cell | 30189 | 0.81 | 0.80 | 0.87 | 0.71 | 0.00 | 0.89 | 0.73 | 0.79 | 0.90 |\n| capillary endothelial cell | 13791 | 0.80 | 0.74 | 0.82 | 0.62 | 0.00 | 0.84 | 0.74 | 0.79 | 0.85 |\n| cardiac endothelial cell | 9076 | 0.97 | 0.95 | 0.88 | 0.55 | 0.00 | 0.99 | 0.95 | 0.95 | 0.98 |\n| vein endothelial cell | 4201 | 0.49 | 0.21 | 0.66 | 0.30 | 0.00 | 0.66 | 0.51 | 0.55 | 0.69 |\n| endothelial cell of artery | 3110 | 0.63 | 0.60 | 0.75 | 0.54 | 0.00 | 0.68 | 0.62 | 0.68 | 0.74 |\n| endothelial cell of lymphatic vessel | 2194 | 0.65 | 0.67 | 0.78 | 0.66 | 0.00 | 0.74 | 0.65 | 0.68 | 0.75 |\n| retinal blood vessel endothelial cell | 1876 | 0.51 | 0.00 | 0.67 | 0.09 | 0.00 | 0.95 | 0.58 | 0.63 | 0.84 |\n| endothelial cell of vascular tree | 788 | 0.48 | 0.04 | 0.69 | 0.37 | 0.00 | 0.64 | 0.53 | 0.62 | 0.69 |\n| colon endothelial cell | 286 | 0.47 | 0.05 | 0.42 | 0.16 | 0.00 | 0.71 | 0.46 | 0.57 | 0.72 |\n| endothelial cell of arteriole | 109 | 0.00 | 0.00 | 0.36 | 0.00 | 0.00 | 0.59 | 0.41 | 0.76 | 0.88 |\n| endothelial cell of venule | 38 | 0.00 | 0.00 | 0.05 | 0.00 | 0.00 | 0.49 | 0.42 | 0.83 | 0.77 |"
4
  }
celltypist.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3cebdb199b6a11bfa56e67ff5b41db350d55f0ed258cc879959b6c981227f897
3
  size 345566
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f64da3cac0b033733c81d625e59f117033f1dcd5e7affcd5bb2db3ca2488a3d1
3
  size 345566
faiss_index.faiss DELETED
File without changes
scvi_knn_classifier.joblib → faiss_index.index RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5fcdf590b50619bc58150098d22131e0bfad547995aa89d4d00bf8133a8e9cf1
3
- size 28663127
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74edb4cdf9701e14ed4a5be3be1dd9b47b3599d8329723d426c4e1d175c0d6d6
3
+ size 13175045
harmony_knn_classifier.joblib → harmony_knn_classifier.index RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:097b6ea1d2fd7a57444bfc1cd879a94c7cd219d4e42958977d545018e56d4f34
3
- size 51144055
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dce5bd7cf8310ca63207ec7d51cbb60be7c70009af427625926933504219efc
3
+ size 13131645
metadata.json DELETED
@@ -1,31 +0,0 @@
1
- {
2
- "popv_version": "0.5.0",
3
- "anndata_version": "0.11.3",
4
- "setup_dict": {
5
- "ref_labels_key": "popv_labels",
6
- "ref_batch_key": "batch_key",
7
- "unknown_celltype_label": "unassigned"
8
- },
9
- "prediction_keys": [
10
- "popv_celltypist_prediction",
11
- "popv_knn_bbknn_prediction",
12
- "popv_knn_harmony_prediction",
13
- "popv_knn_on_scvi_prediction",
14
- "popv_onclass_prediction",
15
- "popv_scanvi_prediction",
16
- "popv_svm_prediction",
17
- "popv_xgboost_prediction"
18
- ],
19
- "method_kwargs": {},
20
- "methods": [
21
- "CELLTYPIST",
22
- "KNN_BBKNN",
23
- "KNN_HARMONY",
24
- "KNN_SCVI",
25
- "ONCLASS",
26
- "SCANVI_POPV",
27
- "Support_Vector",
28
- "XGboost"
29
- ],
30
- "cellxgene_url": "https://cellxgene.cziscience.com/e/5a11f879-d1ef-458a-910c-9b0bdfca5ebf.cxg/"
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
minified_ref_adata.h5ad DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3bcd04bfd8175f256cda73b2cc027e7786fdd596ed853b0163767dbebe33cd6e
3
- size 103581507
 
 
 
 
popv_output/predictions.csv CHANGED
The diff for this file is too large to render. See raw diff
 
preprocessing.json CHANGED
The diff for this file is too large to render. See raw diff
 
ref_labels.csv ADDED
The diff for this file is too large to render. See raw diff
 
scanvi/model.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:41289e86884ce728e6a43bf950efc7f3b6d7401e2bf4880f534e24be9c0533ea
3
- size 12916460
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4464875f5c36c63f3d1cf2e1ac9778c0a61ec2037463c69a7d2609759b19f820
3
+ size 13279413
scvi/model.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:235da1c7d09fa2b801f05ae37e5dfe90e3e9fcba855538d1c339f8ae34275161
3
- size 12393085
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e57566cfa1f0f0a57142f7bbbcb965ff1aae7edc5c9c9c6d826765854c47627
3
+ size 12396166
svm_classifier_cuml.joblib → scvi_knn_classifier.index RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c9b3a43b0fbd9db9d1b5724d4f827bcd1378387787eb74e5e394b1bc7c86e67
3
- size 189035
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:337e234d8d40122a67512c597f65e70ad32bc627fa6423fbeab86b38f8d2bdfa
3
+ size 5252685
svm_classifier.joblib CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50162ed4ba3b598144f17fd6122ebab2dfed9cf2d92fa48cccf3348f71ed60d0
3
- size 1766080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89a0c6f641a81bfb88660e15834ac769ea3f6a6196198698c22cb097cc156def
3
+ size 177884
xgboost_classifier.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:121e2dbb9f676372b6779695344490a8a654f7ddf00363bc0b53ef36b89fc2c2
3
- size 3700673
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:570d55c32589285dfde79b8bb6be52a1ff9abd3eaaa40aba14c58b3e5e79912e
3
+ size 3497557