You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that we concatenated along the observations by default, and that most elements aligned to the observations were concatenated as well.
47
49
A notable exception is :attr:`~anndata.AnnData.obsp`, which can be re-enabled with the `pairwise` keyword argument.
@@ -168,6 +170,7 @@ First, our example case:
168
170
uns: 'pca'
169
171
obsm: 'X_pca'
170
172
varm: 'PCs'
173
+
layers: None
171
174
172
175
Now we will split this object by the categorical `"blobs"` and recombine it to illustrate different merge strategies.
173
176
@@ -184,6 +187,7 @@ Now we will split this object by the categorical `"blobs"` and recombine it to i
184
187
uns: 'pca'
185
188
obsm: 'X_pca', 'qc'
186
189
varm: 'PCs', '0_qc'
190
+
layers: None
187
191
188
192
`adatas` is now a list of datasets with disjoint sets of observations and a common set of variables.
189
193
Each object has had QC metrics computed, with observation-wise metrics stored under `"qc"` in `.obsm`, and variable-wise metrics stored with a unique key for each subset.
@@ -193,16 +197,19 @@ Taking a look at how this affects concatenation:
Note that comparisons are made after indices are aligned.
208
215
That is, if the objects only share a subset of indices on the alternative axis, it's only required that values for those indices match when using a strategy like `"same"`.
- {attr}`anndata.settings.zarr_write_format` and {attr}`anndata.settings.auto_shard_zarr_v3` can now be set together {user}`ilan-gold` ({pr}`2342`)
7
+
- Check `Raw` length on creation and fix associated `.adata` in `Raw` slicing {user}`P Angerer` ({pr}`2351`)
8
+
- Ensure the index name along `obs` and `var` are not lost when reading/writing to disk after reading with {func}`~anndata.experimental.read_lazy` {user}`ilan-gold` ({pr}`2358`)
9
+
10
+
#### Performance
11
+
12
+
- Accelerate outer joins on dask-sparse matrices with unchunked minor axes in {func}`anndata.concat` {user}`ilan-gold` ({pr}`2395`)
Move {attr}`~anndata.AnnData.X` into {attr}`anndata.AnnData.layers` under the `None` key.
2
+
As result, `layers: X` shows up in `AnnData`’s text representation, `None` appears in `.layers.items()`/`.keys()`, {func}`~anndata.concat` now works when some `AnnData`s have no `X`.
0 commit comments