We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af260dc commit 2cab8f1Copy full SHA for 2cab8f1
README.md
@@ -79,10 +79,15 @@ There are several alternative options to install `annsel`:
79
```python
80
import annsel as an
81
82
-adata= an.datasets.leukemic_bone_marrow_dataset()
83
-
84
-adata.an.filter(an.var_col(["feature_type"]).is_in(["protein_coding", "lncRNA"]), copy=True)
85
+adata=an.datasets.leukemic_bone_marrow_dataset()
+
+adata.an.filter(
+ obs=(
86
+ an.col(["Cell_label"]).is_in(["Classical Monocytes", "CD8+CD103+ tissue resident memory T cells"]),
87
+ an.col(["sex"]) == "male",
88
+ ),
89
+ var=an.col(["vst.mean"]) >= 3,
90
+)
91
```
92
93
## Release notes
0 commit comments