canergen commited on
Commit
cd67c87
1 Parent(s): b81d873

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +140 -35
README.md CHANGED
@@ -1,27 +1,118 @@
1
  ---
2
- license: cc-by-4.0
3
  library_name: scvi-tools
 
4
  tags:
5
  - biology
6
  - genomics
7
  - single-cell
8
  - model_cls_name:SCVI
9
- - scvi_version:1.1.0
10
- - anndata_version:0.10.3
11
  - modality:rna
12
- - tissue:Muscle
13
  - annotated:True
14
  ---
15
 
16
- # Description
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  Tabula Sapiens is a benchmark, first-draft human cell atlas of nearly 500,000 cells from 24 organs of 15 normal human subjects.
19
 
20
- # Model properties
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- Many model properties are in the model tags. Some more are listed below.
23
 
24
- **model_init_params**:
 
 
 
25
  ```json
26
  {
27
  "n_hidden": 128,
@@ -37,7 +128,12 @@ Many model properties are in the model tags. Some more are listed below.
37
  }
38
  ```
39
 
40
- **model_setup_anndata_args**:
 
 
 
 
 
41
  ```json
42
  {
43
  "layer": null,
@@ -49,7 +145,29 @@ Many model properties are in the model tags. Some more are listed below.
49
  }
50
  ```
51
 
52
- **model_summary_stats**:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  | Summary Stat Key | Value |
54
  |--------------------------|-------|
55
  | n_batch | 6 |
@@ -59,40 +177,27 @@ Many model properties are in the model tags. Some more are listed below.
59
  | n_labels | 19 |
60
  | n_latent_qzm | 20 |
61
  | n_latent_qzv | 20 |
62
- | n_vars | 4000 |
63
-
64
- **model_data_registry**:
65
- | Registry Key | scvi-tools Location |
66
- |-------------------|--------------------------------------|
67
- | X | adata.X |
68
- | batch | adata.obs['_scvi_batch'] |
69
- | labels | adata.obs['_scvi_labels'] |
70
- | latent_qzm | adata.obsm['_scvi_latent_qzm'] |
71
- | latent_qzv | adata.obsm['_scvi_latent_qzv'] |
72
- | minify_type | adata.uns['_scvi_adata_minify_type'] |
73
- | observed_lib_size | adata.obs['_scvi_observed_lib_size'] |
74
-
75
- **model_parent_module**: scvi.model
76
 
77
- **data_is_minified**: True
78
 
79
- # Training data
80
 
81
- This is an optional link to where the training data is stored if it is too large
82
- to host on the huggingface Model hub.
83
 
84
  <!-- If your model is not uploaded with any data (e.g., minified data) on the Model Hub, then make
85
- sure to provide this field if you want users to be able to access your training data. See the scvi-tools
86
- documentation for details. -->
 
87
 
88
- Training data url: https://zenodo.org/records/7608635/files/Muscle_training_data.h5ad
 
89
 
90
- # Training code
91
 
92
- This is an optional link to the code used to train the model.
93
 
94
- Training code url: N/A
95
 
96
  # References
97
 
98
- The Tabula Sapiens Consortium. The Tabula Sapiens: A multiple-organ, single-cell transcriptomic atlas of humans. Science, May 2022. doi:10.1126/science.abl4896
 
1
  ---
 
2
  library_name: scvi-tools
3
+ license: cc-by-4.0
4
  tags:
5
  - biology
6
  - genomics
7
  - single-cell
8
  - model_cls_name:SCVI
9
+ - scvi_version:1.2.0
10
+ - anndata_version:0.11.1
11
  - modality:rna
12
+ - tissue:various
13
  - annotated:True
14
  ---
15
 
16
+
17
+ ScVI is a variational inference model for single-cell RNA-seq data that can learn an underlying
18
+ latent space, integrate technical batches and impute dropouts.
19
+ The learned low-dimensional latent representation of the data can be used for visualization and
20
+ clustering.
21
+
22
+ scVI takes as input a scRNA-seq gene expression matrix with cells and genes.
23
+ We provide an extensive [user guide](https://docs.scvi-tools.org/en/1.2.0/user_guide/models/scvi.html).
24
+
25
+ - See our original manuscript for further details of the model:
26
+ [scVI manuscript](https://www.nature.com/articles/s41592-018-0229-2).
27
+ - See our manuscript on [scvi-hub](https://www.biorxiv.org/content/10.1101/2024.03.01.582887v2) how
28
+ to leverage pre-trained models.
29
+
30
+ This model can be used for fine tuning on new data using our Arches framework:
31
+ [Arches tutorial](https://docs.scvi-tools.org/en/1.0.0/tutorials/notebooks/scarches_scvi_tools.html).
32
+
33
+
34
+ # Model Description
35
 
36
  Tabula Sapiens is a benchmark, first-draft human cell atlas of nearly 500,000 cells from 24 organs of 15 normal human subjects.
37
 
38
+ # Metrics
39
+
40
+ We provide here key performance metrics for the uploaded model, if provided by the data uploader.
41
+
42
+ <details>
43
+ <summary><strong>Coefficient of variation</strong></summary>
44
+
45
+ The cell-wise coefficient of variation summarizes how well variation between different cells is
46
+ preserved by the generated model expression. Below a squared Pearson correlation coefficient of 0.4
47
+ , we would recommend not to use generated data for downstream analysis, while the generated latent
48
+ space might still be useful for analysis.
49
+
50
+ **Cell-wise Coefficient of Variation**:
51
+
52
+ | Metric | Training Value | Validation Value |
53
+ |-------------------------|----------------|------------------|
54
+ | Mean Absolute Error | 1.40 | 1.50 |
55
+ | Pearson Correlation | 0.76 | 0.73 |
56
+ | Spearman Correlation | 0.71 | 0.70 |
57
+ | R² (R-Squared) | 0.38 | 0.27 |
58
+
59
+ The gene-wise coefficient of variation summarizes how well variation between different genes is
60
+ preserved by the generated model expression. This value is usually quite high.
61
+
62
+ **Gene-wise Coefficient of Variation**:
63
+
64
+ | Metric | Training Value |
65
+ |-------------------------|----------------|
66
+ | Mean Absolute Error | 18.26 |
67
+ | Pearson Correlation | 0.65 |
68
+ | Spearman Correlation | 0.74 |
69
+ | R² (R-Squared) | 0.01 |
70
+
71
+ </details>
72
+
73
+ <details>
74
+ <summary><strong>Differential expression metric</strong></summary>
75
+
76
+ The differential expression metric provides a summary of the differential expression analysis
77
+ between cell types or input clusters. We provide here the F1-score, Pearson Correlation
78
+ Coefficient of Log-Foldchanges, Spearman Correlation Coefficient, and Area Under the Precision
79
+ Recall Curve (AUPRC) for the differential expression analysis using Wilcoxon Rank Sum test for each
80
+ cell-type.
81
+
82
+ **Differential expression**:
83
+
84
+ | Index | gene_f1 | lfc_mae | lfc_pearson | lfc_spearman | roc_auc | pr_auc | n_cells |
85
+ | --- | --- | --- | --- | --- | --- | --- | --- |
86
+ | mesenchymal stem cell | 0.95 | 0.71 | 0.82 | 0.94 | 0.38 | 0.84 | 14148.00 |
87
+ | skeletal muscle satellite stem cell | 0.92 | 1.35 | 0.64 | 0.87 | 0.34 | 0.77 | 4831.00 |
88
+ | endothelial cell of vascular tree | 0.94 | 1.52 | 0.67 | 0.88 | 0.32 | 0.78 | 3602.00 |
89
+ | capillary endothelial cell | 0.91 | 2.31 | 0.61 | 0.81 | 0.32 | 0.75 | 2015.00 |
90
+ | macrophage | 0.77 | 2.00 | 0.71 | 0.88 | 0.35 | 0.81 | 1989.00 |
91
+ | pericyte | 0.92 | 2.08 | 0.67 | 0.85 | 0.34 | 0.74 | 1794.00 |
92
+ | CD8-positive, alpha-beta T cell | 0.71 | 4.54 | 0.62 | 0.76 | 0.22 | 0.78 | 536.00 |
93
+ | T cell | 0.91 | 4.95 | 0.52 | 0.59 | 0.32 | 0.76 | 407.00 |
94
+ | fast muscle cell | 0.86 | 4.83 | 0.61 | 0.60 | 0.27 | 0.89 | 266.00 |
95
+ | tendon cell | 0.76 | 4.82 | 0.52 | 0.56 | 0.36 | 0.66 | 234.00 |
96
+ | CD4-positive, alpha-beta T cell | 0.77 | 5.09 | 0.61 | 0.69 | 0.27 | 0.73 | 221.00 |
97
+ | slow muscle cell | 0.83 | 4.58 | 0.62 | 0.59 | 0.28 | 0.87 | 163.00 |
98
+ | mature NK T cell | 0.71 | 5.32 | 0.65 | 0.72 | 0.26 | 0.72 | 137.00 |
99
+ | endothelial cell of lymphatic vessel | 0.69 | 4.96 | 0.57 | 0.58 | 0.31 | 0.63 | 134.00 |
100
+ | endothelial cell of artery | 0.72 | 4.67 | 0.59 | 0.59 | 0.39 | 0.74 | 133.00 |
101
+ | smooth muscle cell | 0.74 | 4.99 | 0.59 | 0.57 | 0.34 | 0.75 | 58.00 |
102
+ | mast cell | 0.66 | 6.51 | 0.52 | 0.50 | 0.25 | 0.76 | 46.00 |
103
+ | erythrocyte | 0.23 | 4.62 | 0.33 | 0.41 | 0.45 | 0.96 | 20.00 |
104
+ | mesothelial cell | 0.31 | 6.53 | 0.40 | 0.31 | 0.40 | 0.73 | 12.00 |
105
+
106
+ </details>
107
+
108
+ # Model Properties
109
 
110
+ We provide here key parameters used to setup and train the model.
111
 
112
+ <details>
113
+ <summary><strong>Model Parameters</strong></summary>
114
+
115
+ These provide the settings to setup the original model:
116
  ```json
117
  {
118
  "n_hidden": 128,
 
128
  }
129
  ```
130
 
131
+ </details>
132
+
133
+ <details>
134
+ <summary><strong>Setup Data Arguments</strong></summary>
135
+
136
+ Arguments passed to setup_anndata of the original model:
137
  ```json
138
  {
139
  "layer": null,
 
145
  }
146
  ```
147
 
148
+ </details>
149
+
150
+ <details>
151
+ <summary><strong>Data Registry</strong></summary>
152
+
153
+ Registry elements for AnnData manager:
154
+ | Registry Key | scvi-tools Location |
155
+ |-------------------|--------------------------------------|
156
+ | X | adata.X |
157
+ | batch | adata.obs['_scvi_batch'] |
158
+ | labels | adata.obs['_scvi_labels'] |
159
+ | latent_qzm | adata.obsm['scvi_latent_qzm'] |
160
+ | latent_qzv | adata.obsm['scvi_latent_qzv'] |
161
+ | minify_type | adata.uns['_scvi_adata_minify_type'] |
162
+ | observed_lib_size | adata.obs['observed_lib_size'] |
163
+
164
+ - **Data is Minified**: False
165
+
166
+ </details>
167
+
168
+ <details>
169
+ <summary><strong>Summary Statistics</strong></summary>
170
+
171
  | Summary Stat Key | Value |
172
  |--------------------------|-------|
173
  | n_batch | 6 |
 
177
  | n_labels | 19 |
178
  | n_latent_qzm | 20 |
179
  | n_latent_qzv | 20 |
180
+ | n_vars | 3000 |
 
 
 
 
 
 
 
 
 
 
 
 
 
181
 
182
+ </details>
183
 
 
184
 
185
+ <details>
186
+ <summary><strong>Training</strong></summary>
187
 
188
  <!-- If your model is not uploaded with any data (e.g., minified data) on the Model Hub, then make
189
+ sure to provide this field if you want users to be able to access your training data. See the
190
+ scvi-tools documentation for details. -->
191
+ **Training data url**: Not provided by uploader
192
 
193
+ If provided by the original uploader, for those interested in understanding or replicating the
194
+ training process, the code is available at the link below.
195
 
196
+ **Training Code URL**: Not provided by uploader
197
 
198
+ </details>
199
 
 
200
 
201
  # References
202
 
203
+ The Tabula Sapiens Consortium. The Tabula Sapiens: A multiple-organ, single-cell transcriptomic atlas of humans. Science, May 2022. doi:10.1126/science.abl4896