From db2a0c43722fa82a0a3a4417893f86e750da5f83 Mon Sep 17 00:00:00 2001 From: Starlitnightly Date: Wed, 30 Oct 2024 04:19:57 +0800 Subject: [PATCH] Added the tutorial of convert pseudotime to RNA velocity (#706) --- docs/tutorials/index_conventional.md | 1 + docs/tutorials/notebooks | 2 +- dynamo/sample_data.py | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/tutorials/index_conventional.md b/docs/tutorials/index_conventional.md index c99184d47..a4e4bf914 100644 --- a/docs/tutorials/index_conventional.md +++ b/docs/tutorials/index_conventional.md @@ -4,6 +4,7 @@ :maxdepth: 1 notebooks/zebrafish +notebooks/dynamo_beyondvelo notebooks/zebrafish_topography_analysis_tutorial ``` diff --git a/docs/tutorials/notebooks b/docs/tutorials/notebooks index 5ebbb5c02..d587d9ea8 160000 --- a/docs/tutorials/notebooks +++ b/docs/tutorials/notebooks @@ -1 +1 @@ -Subproject commit 5ebbb5c0252cd2734572a6296386478d3d1fe904 +Subproject commit d587d9ea8a55faf0a2d1ef22995331181f63164c diff --git a/dynamo/sample_data.py b/dynamo/sample_data.py index 9a2641b17..ca74d6312 100755 --- a/dynamo/sample_data.py +++ b/dynamo/sample_data.py @@ -145,6 +145,17 @@ def DentateGyrus( return adata +def bone_marrow( + url: str = "https://figshare.com/ndownloader/files/35826944", + filename: str = "bone_marrow.h5ad", +) -> AnnData: + """The bone marrow dataset used in + + This data consists of 27,876 genes across 5,780 cells. + """ + adata = get_adata(url, filename) + + return adata def Haber( url: str = "http://pklab.med.harvard.edu/velocyto/Haber_et_al/Haber_et_al.loom",