Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,27 +1,88 @@
|
|
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.
|
10 |
-
- anndata_version:0.
|
11 |
- modality:rna
|
12 |
-
- tissue:
|
13 |
- annotated:True
|
14 |
---
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
|
|
|
23 |
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
```json
|
26 |
{
|
27 |
"n_hidden": 128,
|
@@ -37,7 +98,12 @@ Many model properties are in the model tags. Some more are listed below.
|
|
37 |
}
|
38 |
```
|
39 |
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
41 |
```json
|
42 |
{
|
43 |
"layer": null,
|
@@ -49,50 +115,59 @@ Many model properties are in the model tags. Some more are listed below.
|
|
49 |
}
|
50 |
```
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
| n_labels | 6 |
|
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 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
|
75 |
-
**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
-
|
78 |
|
79 |
-
# Training data
|
80 |
|
81 |
-
|
82 |
-
|
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
|
86 |
-
documentation for details. -->
|
|
|
87 |
|
88 |
-
|
|
|
89 |
|
90 |
-
|
91 |
|
92 |
-
|
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 |
+
Not provided by uploader
|
53 |
+
|
54 |
+
The gene-wise coefficient of variation summarizes how well variation between different genes is
|
55 |
+
preserved by the generated model expression. This value is usually quite high.
|
56 |
+
|
57 |
+
**Gene-wise Coefficient of Variation**:
|
58 |
+
|
59 |
+
Not provided by uploader
|
60 |
+
|
61 |
+
</details>
|
62 |
|
63 |
+
<details>
|
64 |
+
<summary><strong>Differential expression metric</strong></summary>
|
65 |
|
66 |
+
The differential expression metric provides a summary of the differential expression analysis
|
67 |
+
between cell types or input clusters. We provide here the F1-score, Pearson Correlation
|
68 |
+
Coefficient of Log-Foldchanges, Spearman Correlation Coefficient, and Area Under the Precision
|
69 |
+
Recall Curve (AUPRC) for the differential expression analysis using Wilcoxon Rank Sum test for each
|
70 |
+
cell-type.
|
71 |
+
|
72 |
+
**Differential expression**:
|
73 |
+
|
74 |
+
Not provided by uploader
|
75 |
+
|
76 |
+
</details>
|
77 |
+
|
78 |
+
# Model Properties
|
79 |
+
|
80 |
+
We provide here key parameters used to setup and train the model.
|
81 |
+
|
82 |
+
<details>
|
83 |
+
<summary><strong>Model Parameters</strong></summary>
|
84 |
+
|
85 |
+
These provide the settings to setup the original model:
|
86 |
```json
|
87 |
{
|
88 |
"n_hidden": 128,
|
|
|
98 |
}
|
99 |
```
|
100 |
|
101 |
+
</details>
|
102 |
+
|
103 |
+
<details>
|
104 |
+
<summary><strong>Setup Data Arguments</strong></summary>
|
105 |
+
|
106 |
+
Arguments passed to setup_anndata of the original model:
|
107 |
```json
|
108 |
{
|
109 |
"layer": null,
|
|
|
115 |
}
|
116 |
```
|
117 |
|
118 |
+
</details>
|
119 |
+
|
120 |
+
<details>
|
121 |
+
<summary><strong>Data Registry</strong></summary>
|
122 |
+
|
123 |
+
Registry elements for AnnData manager:
|
124 |
+
|[1m [0m[1m Registry Key [0m[1m [0m|[1m [0m[1m scvi-tools Location [0m[1m [0m|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|-------------------|--------------------------------------|
|
126 |
+
|[94m [0m[94m X [0m[94m [0m|[35m [0m[35m adata.X [0m[35m [0m|
|
127 |
+
|[94m [0m[94m batch [0m[94m [0m|[35m [0m[35m adata.obs['_scvi_batch'] [0m[35m [0m|
|
128 |
+
|[94m [0m[94m labels [0m[94m [0m|[35m [0m[35m adata.obs['_scvi_labels'] [0m[35m [0m|
|
129 |
+
|[94m [0m[94m latent_qzm [0m[94m [0m|[35m [0m[35m adata.obsm['scvi_latent_qzm'] [0m[35m [0m|
|
130 |
+
|[94m [0m[94m latent_qzv [0m[94m [0m|[35m [0m[35m adata.obsm['scvi_latent_qzv'] [0m[35m [0m|
|
131 |
+
|[94m [0m[94m minify_type [0m[94m [0m|[35m [0m[35madata.uns['_scvi_adata_minify_type'][0m[35m [0m|
|
132 |
+
|[94m [0m[94mobserved_lib_size[0m[94m [0m|[35m [0m[35m adata.obs['observed_lib_size'] [0m[35m [0m|
|
133 |
|
134 |
+
- **Data is Minified**: False
|
135 |
+
|
136 |
+
</details>
|
137 |
+
|
138 |
+
<details>
|
139 |
+
<summary><strong>Summary Statistics</strong></summary>
|
140 |
+
|
141 |
+
|[1m [0m[1m Summary Stat Key [0m[1m [0m|[1m [0m[1mValue[0m[1m [0m|
|
142 |
+
|--------------------------|-------|
|
143 |
+
|[94m [0m[94m n_batch [0m[94m [0m|[35m [0m[35m 2 [0m[35m [0m|
|
144 |
+
|[94m [0m[94m n_cells [0m[94m [0m|[35m [0m[35m11505[0m[35m [0m|
|
145 |
+
|[94m [0m[94mn_extra_categorical_covs[0m[94m [0m|[35m [0m[35m 0 [0m[35m [0m|
|
146 |
+
|[94m [0m[94mn_extra_continuous_covs [0m[94m [0m|[35m [0m[35m 0 [0m[35m [0m|
|
147 |
+
|[94m [0m[94m n_labels [0m[94m [0m|[35m [0m[35m 6 [0m[35m [0m|
|
148 |
+
|[94m [0m[94m n_latent_qzm [0m[94m [0m|[35m [0m[35m 20 [0m[35m [0m|
|
149 |
+
|[94m [0m[94m n_latent_qzv [0m[94m [0m|[35m [0m[35m 20 [0m[35m [0m|
|
150 |
+
|[94m [0m[94m n_vars [0m[94m [0m|[35m [0m[35m3000 [0m[35m [0m|
|
151 |
|
152 |
+
</details>
|
153 |
|
|
|
154 |
|
155 |
+
<details>
|
156 |
+
<summary><strong>Training</strong></summary>
|
157 |
|
158 |
<!-- If your model is not uploaded with any data (e.g., minified data) on the Model Hub, then make
|
159 |
+
sure to provide this field if you want users to be able to access your training data. See the
|
160 |
+
scvi-tools documentation for details. -->
|
161 |
+
**Training data url**: Not provided by uploader
|
162 |
|
163 |
+
If provided by the original uploader, for those interested in understanding or replicating the
|
164 |
+
training process, the code is available at the link below.
|
165 |
|
166 |
+
**Training Code URL**: Not provided by uploader
|
167 |
|
168 |
+
</details>
|
169 |
|
|
|
170 |
|
171 |
# References
|
172 |
|
173 |
+
The Tabula Sapiens Consortium. The Tabula Sapiens: A multiple-organ, single-cell transcriptomic atlas of humans. Science, May 2022. doi:10.1126/science.abl4896
|