Skip to content

Commit

Permalink
edit-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
XingyanLiu committed Mar 16, 2022
1 parent 475ce66 commit f9bad49
Show file tree
Hide file tree
Showing 27 changed files with 99 additions and 40 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ __pycache__

_tmp*

#dist/
#build/
#*.egg-info
dist/
build/
*.egg-info
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include ./sample_data/subsampled_B-L0-0.2.h5ad.rar
include ./sample_data/hvg_frequencies.csv
include ./sample_data/lineage_colors.csv
include README.md
8 changes: 7 additions & 1 deletion docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ Requirements:
- scanpy: https://scanpy.readthedocs.io/en/stable/installation.html
- scikit-learn: https://pypi.org/project/scikit-learn/

Install stagewiseNN with PyPI, run:

Install from source code:
.. code-block:: PowerShell
pip install swnn
Alternatively, install from source code:

.. code:: shell
Expand Down
5 changes: 2 additions & 3 deletions docs/_sources/installation.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Installation
PyPI
~~~~

Install stagewiseNN with PyPI, run:
Install StagewiseNN with PyPI, run:

.. code-block:: PowerShell
pip install stagewisenn
pip install swnn
GitHub
Expand All @@ -22,4 +22,3 @@ Or fetch from GitHub and manually install:
cd stagewiseNN
python setup.py install
END
9 changes: 7 additions & 2 deletions docs/_sources/tutorial/tutorial_builder_based.ipynb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
"source": [
"# Tutorial for using stagewiseNN\n",
"\n",
"TODO:\n",
" Add some descriptions"
"Here is a tutorial of using StagewiseNN to build the single-cell graph and \n",
"developmental tree from scratch, i.e., using the raw count data. \n",
"\n",
"The sample data used here is a **20%-subsample** (29775 cells) of the original scRNA-seq data (~140k cells),\n",
"which can be download from [here](https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data).\n",
"\n",
"Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN."
]
},
{
Expand Down
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/installation.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
"source": [
"# Tutorial for using stagewiseNN\n",
"\n",
"TODO:\n",
" Add some descriptions"
"Here is a tutorial of using StagewiseNN to build the single-cell graph and \n",
"developmental tree from scratch, i.e., using the raw count data. \n",
"\n",
"The sample data used here is a **20%-subsample** (29775 cells) of the original scRNA-seq data (~140k cells),\n",
"which can be download from [here](https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data).\n",
"\n",
"Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN."
]
},
{
Expand Down
Binary file modified docs/build/doctrees/tutorial/tutorial_builder_based.doctree
Binary file not shown.
8 changes: 7 additions & 1 deletion docs/build/html/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ Requirements:
- scanpy: https://scanpy.readthedocs.io/en/stable/installation.html
- scikit-learn: https://pypi.org/project/scikit-learn/

Install stagewiseNN with PyPI, run:

Install from source code:
.. code-block:: PowerShell
pip install swnn
Alternatively, install from source code:

.. code:: shell
Expand Down
5 changes: 2 additions & 3 deletions docs/build/html/_sources/installation.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Installation
PyPI
~~~~

Install stagewiseNN with PyPI, run:
Install StagewiseNN with PyPI, run:

.. code-block:: PowerShell
pip install stagewisenn
pip install swnn
GitHub
Expand All @@ -22,4 +22,3 @@ Or fetch from GitHub and manually install:
cd stagewiseNN
python setup.py install
END
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
"source": [
"# Tutorial for using stagewiseNN\n",
"\n",
"TODO:\n",
" Add some descriptions"
"Here is a tutorial of using StagewiseNN to build the single-cell graph and \n",
"developmental tree from scratch, i.e., using the raw count data. \n",
"\n",
"The sample data used here is a **20%-subsample** (29775 cells) of the original scRNA-seq data (~140k cells),\n",
"which can be download from [here](https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data).\n",
"\n",
"Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN."
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion docs/build/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ <h2>Installation<a class="headerlink" href="#installation" title="Permalink to t
<li><p>scanpy: <a class="reference external" href="https://scanpy.readthedocs.io/en/stable/installation.html">https://scanpy.readthedocs.io/en/stable/installation.html</a></p></li>
<li><p>scikit-learn: <a class="reference external" href="https://pypi.org/project/scikit-learn/">https://pypi.org/project/scikit-learn/</a></p></li>
</ul>
<p>Install from source code:</p>
<p>Install stagewiseNN with PyPI, run:</p>
<div class="highlight-PowerShell notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">swnn</span>
</pre></div>
</div>
<p>Alternatively, install from source code:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/zhanglabtools/stagewiseNN.git
<span class="nb">cd</span> stagewiseNN
python setup.py install
Expand Down
5 changes: 2 additions & 3 deletions docs/build/html/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h1>
<div class="section" id="pypi">
<h2>PyPI<a class="headerlink" href="#pypi" title="Permalink to this headline"></a></h2>
<p>Install stagewiseNN with PyPI, run:</p>
<div class="highlight-PowerShell notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">stagewisenn</span>
<p>Install StagewiseNN with PyPI, run:</p>
<div class="highlight-PowerShell notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">swnn</span>
</pre></div>
</div>
</div>
Expand All @@ -206,7 +206,6 @@ <h2>GitHub<a class="headerlink" href="#github" title="Permalink to this headline
python setup.py install
</pre></div>
</div>
<p>END</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/build/html/searchindex.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion docs/build/html/tutorial/tutorial_builder_based.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@
</style>
<div class="section" id="Tutorial-for-using-stagewiseNN">
<h1>Tutorial for using stagewiseNN<a class="headerlink" href="#Tutorial-for-using-stagewiseNN" title="Permalink to this headline"></a></h1>
<p>TODO: Add some descriptions</p>
<p>Here is a tutorial of using StagewiseNN to build the single-cell graph and developmental tree from scratch, i.e., using the raw count data.</p>
<p>The sample data used here is a <strong>20%-subsample</strong> (29775 cells) of the original scRNA-seq data (~140k cells), which can be download from <a class="reference external" href="https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data">here</a>.</p>
<p>Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN.</p>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
</pre></div>
Expand Down
9 changes: 7 additions & 2 deletions docs/build/html/tutorial/tutorial_builder_based.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
"source": [
"# Tutorial for using stagewiseNN\n",
"\n",
"TODO:\n",
" Add some descriptions"
"Here is a tutorial of using StagewiseNN to build the single-cell graph and \n",
"developmental tree from scratch, i.e., using the raw count data. \n",
"\n",
"The sample data used here is a **20%-subsample** (29775 cells) of the original scRNA-seq data (~140k cells),\n",
"which can be download from [here](https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data).\n",
"\n",
"Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN."
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ <h2>Installation<a class="headerlink" href="#installation" title="Permalink to t
<li><p>scanpy: <a class="reference external" href="https://scanpy.readthedocs.io/en/stable/installation.html">https://scanpy.readthedocs.io/en/stable/installation.html</a></p></li>
<li><p>scikit-learn: <a class="reference external" href="https://pypi.org/project/scikit-learn/">https://pypi.org/project/scikit-learn/</a></p></li>
</ul>
<p>Install from source code:</p>
<p>Install stagewiseNN with PyPI, run:</p>
<div class="highlight-PowerShell notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">swnn</span>
</pre></div>
</div>
<p>Alternatively, install from source code:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>git clone https://github.com/zhanglabtools/stagewiseNN.git
<span class="nb">cd</span> stagewiseNN
python setup.py install
Expand Down
5 changes: 2 additions & 3 deletions docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h1>
<div class="section" id="pypi">
<h2>PyPI<a class="headerlink" href="#pypi" title="Permalink to this headline"></a></h2>
<p>Install stagewiseNN with PyPI, run:</p>
<div class="highlight-PowerShell notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">stagewisenn</span>
<p>Install StagewiseNN with PyPI, run:</p>
<div class="highlight-PowerShell notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">swnn</span>
</pre></div>
</div>
</div>
Expand All @@ -206,7 +206,6 @@ <h2>GitHub<a class="headerlink" href="#github" title="Permalink to this headline
python setup.py install
</pre></div>
</div>
<p>END</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@ Requirements:
- scanpy: https://scanpy.readthedocs.io/en/stable/installation.html
- scikit-learn: https://pypi.org/project/scikit-learn/

Install stagewiseNN with PyPI, run:

Install from source code:
.. code-block:: PowerShell
pip install swnn
Alternatively, install from source code:

.. code:: shell
Expand Down
5 changes: 2 additions & 3 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Installation
PyPI
~~~~

Install stagewiseNN with PyPI, run:
Install StagewiseNN with PyPI, run:

.. code-block:: PowerShell
pip install stagewisenn
pip install swnn
GitHub
Expand All @@ -22,4 +22,3 @@ Or fetch from GitHub and manually install:
cd stagewiseNN
python setup.py install
END
9 changes: 7 additions & 2 deletions docs/source/tutorial/tutorial_builder_based.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
"source": [
"# Tutorial for using stagewiseNN\n",
"\n",
"TODO:\n",
" Add some descriptions"
"Here is a tutorial of using StagewiseNN to build the single-cell graph and \n",
"developmental tree from scratch, i.e., using the raw count data. \n",
"\n",
"The sample data used here is a **20%-subsample** (29775 cells) of the original scRNA-seq data (~140k cells),\n",
"which can be download from [here](https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data).\n",
"\n",
"Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN."
]
},
{
Expand Down
4 changes: 3 additions & 1 deletion docs/tutorial/tutorial_builder_based.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@
</style>
<div class="section" id="Tutorial-for-using-stagewiseNN">
<h1>Tutorial for using stagewiseNN<a class="headerlink" href="#Tutorial-for-using-stagewiseNN" title="Permalink to this headline"></a></h1>
<p>TODO: Add some descriptions</p>
<p>Here is a tutorial of using StagewiseNN to build the single-cell graph and developmental tree from scratch, i.e., using the raw count data.</p>
<p>The sample data used here is a <strong>20%-subsample</strong> (29775 cells) of the original scRNA-seq data (~140k cells), which can be download from <a class="reference external" href="https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data">here</a>.</p>
<p>Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN.</p>
<div class="nbinput nblast docutils container">
<div class="prompt highlight-none notranslate"><div class="highlight"><pre><span></span>[1]:
</pre></div>
Expand Down
9 changes: 7 additions & 2 deletions docs/tutorial/tutorial_builder_based.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
"source": [
"# Tutorial for using stagewiseNN\n",
"\n",
"TODO:\n",
" Add some descriptions"
"Here is a tutorial of using StagewiseNN to build the single-cell graph and \n",
"developmental tree from scratch, i.e., using the raw count data. \n",
"\n",
"The sample data used here is a **20%-subsample** (29775 cells) of the original scRNA-seq data (~140k cells),\n",
"which can be download from [here](https://github.com/XingyanLiu/stagewiseNN/tree/main/sample_data).\n",
"\n",
"Note that any normalized data-matrix (with stage labels) can be run with StagewiseNN."
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion swnn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
)
from .builder import Builder


__version__ = '0.1.0'

0 comments on commit f9bad49

Please sign in to comment.