Add compression statistics to README
Browse files
README.md
CHANGED
|
@@ -19,6 +19,14 @@ This dataset was exported from the **CellxGene Census** as a **chunked + compres
|
|
| 19 |
- **Shape**: `100,000 cells × 61,497 genes`
|
| 20 |
- **Zarr path**: `lung.zarr`
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
### Included labels
|
| 23 |
|
| 24 |
- `obs/cell_type`
|
|
@@ -197,13 +205,13 @@ sc.tl.leiden(adata, resolution=0.5)
|
|
| 197 |
|
| 198 |
Measured locally while building this dataset:
|
| 199 |
|
| 200 |
-
- open Zarr group: **0.
|
| 201 |
-
- read one `X[chunk]` (1000×1000): **0.
|
| 202 |
|
| 203 |
```json
|
| 204 |
{
|
| 205 |
-
"open_seconds": 0.
|
| 206 |
-
"read_chunk_seconds": 0.
|
| 207 |
"chunk_shape": [
|
| 208 |
1000,
|
| 209 |
1000
|
|
|
|
| 19 |
- **Shape**: `100,000 cells × 61,497 genes`
|
| 20 |
- **Zarr path**: `lung.zarr`
|
| 21 |
|
| 22 |
+
### Compression
|
| 23 |
+
|
| 24 |
+
- **Uncompressed** (dense float32): **22.91 GB**
|
| 25 |
+
- **Compressed Zarr**: **~307 MB** (322 MB on Hub)
|
| 26 |
+
- **Compression ratio**: **~76×** (Blosc zstd on sparse single-cell data)
|
| 27 |
+
|
| 28 |
+
The high compression ratio is achieved through Blosc zstd compression optimized for sparse expression matrices typical in single-cell RNA-seq data.
|
| 29 |
+
|
| 30 |
### Included labels
|
| 31 |
|
| 32 |
- `obs/cell_type`
|
|
|
|
| 205 |
|
| 206 |
Measured locally while building this dataset:
|
| 207 |
|
| 208 |
+
- open Zarr group: **0.0021 s**
|
| 209 |
+
- read one `X[chunk]` (1000×1000): **0.0864 s**
|
| 210 |
|
| 211 |
```json
|
| 212 |
{
|
| 213 |
+
"open_seconds": 0.0021242350339889526,
|
| 214 |
+
"read_chunk_seconds": 0.08641284704208374,
|
| 215 |
"chunk_shape": [
|
| 216 |
1000,
|
| 217 |
1000
|