-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c340b5
commit 93c7afa
Showing
49 changed files
with
645 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,39 @@ | ||
.. stagewiseNN documentation master file, created by | ||
.. StagewiseNN documentation master file, created by | ||
sphinx-quickstart on Mon Jul 19 12:54:30 2021. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
stagewiseNN - Building developmental tree from scRNA-seq | ||
======================================================== | ||
StagewiseNN - Building developmental tree from single-cell data | ||
=============================================================== | ||
|
||
**stagewiseNN** is a computational tool for constructing | ||
**StagewiseNN** is a computational tool for constructing | ||
developmental (lineage) tree from Multi-staged single-cell RNA-seq data. | ||
|
||
It starts from building a single-cell graph by connecting each cell to its | ||
k-nearest neighbors in the parent stage, followed by voting-based tree-construction | ||
and adaptive cluster refinement. | ||
|
||
.. image:: _figs/stagewisenn.png | ||
.. image:: _figs/swnn_overview.png | ||
:height: 250px | ||
|
||
The single-cell graph can be further visualized using graph embedding methods, e.g. UMAP, SPRING. | ||
|
||
We have used it to build the developmental tree from Amphioxus embryonic cells, across | ||
nine developmental stages ("B", "G3", "G4", "G5", "G6", "N0", "N1", "N3", "L0"). | ||
And seven major lineages were recognized. | ||
nine developmental stages ("B", "G3", "G4", "G5", "G6", "N0", "N1", "N3", "L0"), | ||
where seven major lineages were recognized. | ||
|
||
.. image:: _figs/umap_stage.png | ||
:height: 200px | ||
|
||
.. image:: _figs/umap_lineage.png | ||
:height: 200px | ||
|
||
StagewiseNN can also be applied on **scATAC-seq** data sampled at multiple timepoints, | ||
once the peak-by-cell matrix is transformed into the gene activities (i.e., a gene-by-cell matrix). | ||
|
||
.. image:: _figs/umap_atac.png | ||
:height: 200px | ||
|
||
Installation | ||
------------ | ||
|
||
|
@@ -69,13 +75,12 @@ See :doc:`tutorial/tutorial_builder_based` for detailed guide. | |
# stage_order = [f'stage_{i}' for i in range(5)] | ||
builder = swnn.Builder(stage_order=stage_order) | ||
# step1: | ||
# building (stage-wise) single-cell graph | ||
# step1: building a (stage-preserved) single-cell graph | ||
distmat, connect = builder.build_graph( | ||
X=data_matrix, stage_lbs=stage_labels, | ||
) | ||
# step2: | ||
# build developmental tree from single-cell graph | ||
# step2: build a developmental tree from the single-cell graph | ||
edgedf, refined_group_lbs = builder.build_tree(group_labels, stage_labels,) | ||
|
@@ -97,14 +102,6 @@ We have a mailing list located at: | |
* [email protected] | ||
* [email protected] | ||
|
||
Citation | ||
-------- | ||
|
||
If you find StagewiseNN helps, Please cite: | ||
|
||
Pengcheng Ma, Xingyan Liu, Zaoxu Xu et al. **Joint profiling of gene expression and chromatin accessibility of amphioxus development at single cell resolution**, 18 May 2021, PREPRINT (Version 1) available at Research Square [https://doi.org/10.21203/rs.3.rs-504113/v1] | ||
|
||
|
||
|
||
.. toctree:: | ||
:caption: Contents | ||
|
@@ -116,8 +113,8 @@ If you find StagewiseNN helps, Please cite: | |
citation | ||
|
||
|
||
Indices and tables | ||
================== | ||
Indices | ||
======= | ||
|
||
* :ref:`genindex` | ||
* :ref:`search` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.