Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 42 additions & 42 deletions latest/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
├── .zgroup # The tables group MAY be in root or in another group.
|
├── .zattrs # `.zattrs` MUST contain "tables", which lists the keys of the subgroups that are tables. In this case, the only table is "my_table".
# hence `.zattrs` should be equal to `{ "tables": [ "my_table" ] }`.
# hence `.zattrs` should be equal to `{ "tables": [ "my_table" ] }`.
|
└── my_table
│ # The table group MAY be in the root of the zarr file.
Expand All @@ -209,7 +209,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
| # `.zattrs` MUST contain "region_key" if "region" is an array. "region_key" is the key in `obs` denoting which region a given row corresponds to.
| # `.zattrs` MAY contain "instance_key", which is the key in `obs` that denotes which instance in "region" the row corresponds to. If "instance_key" is not provided, the values from the `obs` `.zattrs` "_index" key is used.
├── X # You MAY add an zarr array `X`.
├── X # You MAY add a zarr array `X`.
│ │ # `X` MUST not be a complex type (i.e., MUST be a single type)
│ │ # `X` MAY be chunked as the user desires.
│ ├── .zarray
Expand Down Expand Up @@ -240,10 +240,10 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ │ # `.zattrs` MUST contain `"encoding-type"`, which is set to `"dataframe"` by AnnData.
│ │ # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.2.0"` by AnnData.
│ │
│ └── col_0 # Each column in the obs table is a 1D zarr array. The rows can be chunked as the user desires.
│ ├── .zarray # However, the obs columns SHOULD be chunked in the same way as the rows in X (if present).
│ └── col_0 # Each column in the obs table is a 1D zarr array and can be chunked as the user desires.
│ ├── .zarray # However, the obs columns SHOULD be chunked in the same way as the rows of X (if present).
│ │
│ └─ 0
│ └─ 0
├── var # You MAY add a var group container. The var group holds a table of annotations on the columns in X.
| │ # The rows in var MUST be index-matched to the columns in X (if present).
| |
Expand All @@ -252,38 +252,38 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
| │ # `.zattrs` MUST contain `"encoding-type"`, which is set to `"dataframe"` by AnnData.
| │ # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.2.0"` by AnnData.
| │
| ├── array_col # Columns in the var table MAY be a 1D zarr array. The rows can be chunked as the user desires.
| | ├── .zarray # However, the var columns SHOULD be chunked in the same way as the columns in X.
| ├── array_col # Columns in the var table MAY be a 1D zarr array and can be chunked as the user desires.
| | ├── .zarray # However, the var columns SHOULD be chunked in the same way as the columns of X (if present).
| | │
| | └─ 0
| | └─ 0
| |
| ── cat_col # Columns in the var table MAY be categorical
| ├── .zattrs. # `.zattrs` MUST contain `"encoding-type"`, which is set to `"categorical"` by AnnData.
| | # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.2.0"` by AnnData.
| |
| ├── categories
| | ├── .zarray # categories MUST be a 1D zarr array. The rows can be chunked as the user desires.
| | |
| | ─ 0
| ── codes
| | ├── .zarray # codes MUST be a 1D zarr array. The rows can be chunked as the user desires.
| | |
| | └─ 0
| |
| ├── null_col # Columns in the var table MAY nullable integer
| ── cat_col # Columns in the var table MAY be categorical
| | ├── .zattrs. # `.zattrs` MUST contain `"encoding-type"`, which is set to `"categorical"` by AnnData.
| | | # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.2.0"` by AnnData.
| | |
| | ├── categories
| | | ├── .zarray # categories MUST be a 1D zarr array and can be chunked as the user desires.
| | | |
| | | └── 0
| | ── codes
| | ├── .zarray # codes MUST be a 1D zarr array and can be chunked as the user desires.
| | | # However, the codes SHOULD be chunked in the same way as the columns of X (if present).
| | └── 0
| |
| └── null_col # Columns in the var table MAY be nullable integers
| ├── .zattrs. # `.zattrs` MUST contain `"encoding-type"`, which is set to `"nullable-integer"` by AnnData.
| | # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.1.0"` by AnnData.
| |
| # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.1.0"` by AnnData.
|
| ├── mask
| | ├── .zarray # categories MUST be a 1D zarr array. The rows can be chunked as the user desires.
| | |
| | └─ 0
| ├── .zarray # categories MUST be a 1D zarr array and can be chunked as the user desires.
| │ │ # However, the mask SHOULD be chunked in the same way as the columns of X (if present).
| │ └── 0
| └── values
| ├── .zarray # codes MUST be a 1D zarr array. The rows can be chunked as the user desires.
| |
| ─ 0
| ├── .zarray # codes MUST be a 1D zarr array and can be chunked as the user desires.
| │ # However, the values SHOULD be chunked in the same way as the columns of X (if present).
| └── 0
|
├── obsm # You MAY add a obsm group comtainer. The obsm group contains arrays that annotate the rows in X.
├── obsm # You MAY add a obsm group container. The obsm group contains arrays that annotate the rows in X.
| │ # The rows in each array MUST be index-matched to the rows in X (if present).
| |
│ ├── .zgroup
Expand All @@ -301,7 +301,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ │ ...
│ └── n.m
|
├── varm # You MAY add a varm group comtainer. The varm group contains arrays that annotate the columns in X.
├── varm # You MAY add a varm group container. The varm group contains arrays that annotate the columns in X.
| │ # The rows in each array MUST be index-matched to the columns in X (if present).
| |
│ ├── .zgroup
Expand All @@ -318,7 +318,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ │ ...
│ └── n.m
|
├── obsp # You MAY add a obsp group comtainer. The obsp group contains sparse arrays that annotate the rows in X.
├── obsp # You MAY add a obsp group container. The obsp group contains sparse arrays that annotate the rows in X.
| │ # The rows in each array MUST be index-matched to the columns in X (if present).
| |
│ ├── .zgroup
Expand All @@ -345,7 +345,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ | └── n
| |
| ├── indices # You MUST add a one-dimensional zarr array named "indices".
| | | # `indices` MAY be chunked as the user desires.
| | | # `indices` MAY be chunked as the user desires but SHOULD be chunked the same as `data`.
| | ├── .zarray # `indices` MUST be an `int` dtype.
| | |
| | ├── 0
Expand All @@ -360,7 +360,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ | ...
│ └── n
|
├── varp # You MAY add a varp group comtainer. The varp group contains sparse arrays that annotate the columns in X.
├── varp # You MAY add a varp group container. The varp group contains sparse arrays that annotate the columns in X.
| │ # The rows in each array MUST be index-matched to the columns in X (if present).
| |
│ ├── .zgroup
Expand All @@ -387,7 +387,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ | └── n
| |
| ├── indices # You MUST add a one-dimensional zarr array named "indices".
| | | # `indices` MAY be chunked as the user desires.
| | | # `indices` MAY be chunked as the user desires but SHOULD be chunked the same as `data`.
| | ├── .zarray # `indices` MUST be an `int` dtype.
| | |
| | ├── 0
Expand All @@ -402,7 +402,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
│ | ...
│ └── n
|
└── uns # You MAY add a uns containter to store unstructured data.
└── uns # You MAY add an uns container to store unstructured data.
|
├── .zgroup
|
Expand All @@ -428,12 +428,12 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
| │ # `.zattrs` MUST contain `"encoding-type"`, which is set to `"dataframe"` by AnnData.
| │ # `.zattrs` MUST contain `"encoding-version"`, which is set to `"0.2.0"` by AnnData.
| │
| └── col_0 # Each column in the obs table is a 1D zarr array.
| ├── .zarray # Each columns MUST be chunked the same, but the chunking may be chosen by the user.
| └── col_0 # Each column in the table is a 1D zarr array.
| ├── .zarray # Each column MUST be chunked the same, but the chunking may be chosen by the user.
| │
| └─ 0
| └─ 0
|
├── dense_array # You MAY dense arrays as n n-dimensional zarr arrays.
├── dense_array # You MAY add dense arrays as n n-dimensional zarr arrays.
| │ # `dense_array` MUST not be a complex type (i.e., MUST be a single type)
| │ # `dense_array` MAY be chunked as the user desires.
| | # `dense array` MAY be in the `uns` group or in a subgroup.
Expand Down Expand Up @@ -461,7 +461,7 @@ OME-NGFF tables are compatible with the [AnnData model](https://github.com/scver
| └── n
|
├── indices # You MUST add a one-dimensional zarr array named "indices".
| | # `indices` MAY be chunked as the user desires.
| | # `indices` MAY be chunked as the user desires but SHOULD be chunked the same as `data`.
| ├── .zarray # `indices` MUST be an `int` dtype.
| |
| ├── 0
Expand Down