Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenyiWangTHU committed Sep 27, 2024
1 parent 7801d30 commit 50dc547
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 14 deletions.
1 change: 1 addition & 0 deletions .Rproj.user/F5A33326/rmd-outputs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
D:/GitHub/HemaScope_Tutorial/_book/index.html
D:/GitHub/HemaScope_Tutorial/_book/index.html

D:/GitHub/HemaScope_Tutorial/_book/index.html

Expand Down
18 changes: 12 additions & 6 deletions _book/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ <h2><span class="header-section-number">2.4</span> Install required R-packages<a
# install.packages(&quot;BiocManager&quot;,version=&quot;1.30.23&quot;)
BiocManager::install(&quot;ComplexHeatmap&quot;)
BiocManager::install(&quot;scmap&quot;)
BiocManager::install(&quot;clusterProfiler&quot;)</code></pre>
BiocManager::install(&quot;clusterProfiler&quot;)
install.packages(&quot;doMC&quot;)
install.packages(&quot;doRNG&quot;)</code></pre>
<ul>
<li>From CRAN</li>
</ul>
Expand All @@ -359,7 +361,8 @@ <h2><span class="header-section-number">2.4</span> Install required R-packages<a
<p>Usage limitations: Sometimes an API rate limit error occurs, and a GitHub token is needed to provide the GitHub API rate limit. The steps to resolve this are as follows: Register for an account or log in to an existing account on the GitHub website. Then click on your profile picture in the top right corner, go to the dropdown menu and select “Settings.” Next, find “Developer settings” and click on it, then find “Personal access tokens (classic).” Click on it, then click “Create new token (classic).” Create a new token by first naming it anything you like. Then choose the expiration time for the token. Finally, check the “repo” box; the token will be used to download code repositories from GitHub. Click “Generate token.” Copy the generated token password.</p>
<p>After that, set the token in the environment variable in R. Since we are using conda, enter R by typing R in the terminal. Then, enter the command: usethis::edit_r_environ(). This will open a file. Press the i key to edit. Paste the token you copied into the code area as follows: GITHUB_TOKEN=“your_token”.</p>
<p>Then press Esc, type :wq! (force save). After that, you need to exit Linux and re-enter R. Close and reopen the terminal to apply the environment variable. Reopen Linux, activate the conda environment, and enter R again.</p>
<pre><code>devtools::install_github(&quot;sqjin/CellChat@9e1e605&quot;)
<pre><code>devtools::install_github(&quot;sqjin/CellChat&quot;)
devtools::install_github(&quot;immunogenomics/presto&quot;)
devtools::install_github(&quot;aertslab/SCENIC@fde9774&quot;)
devtools::install_github(&quot;pzhulab/abcCellmap@f44c14b&quot;)
devtools::install_github(&quot;navinlabcode/copykat@d7d6569&quot;)
Expand All @@ -385,7 +388,7 @@ <h2><span class="header-section-number">2.5</span> Install required Python-packa
<ul>
<li>Install required packages</li>
</ul>
<pre><code>pip install stereopy==1.3.1 anndata==0.9.2 arboreto==0.1.6 cell2location==0.1.3 commot==0.0.3 karateclub==1.2.2 matplotlib==3.7.1 networkx==3.1 numpy==1.23.5 pandas==1.5.3 phate==1.0.11 pot==0.9.1 scanpy==1.9.6 scipy==1.10.1 scvelo==0.3.2 scvi-tools==0.20.3 seaborn==0.12.2</code></pre>
<pre><code>pip install stereopy==1.3.1 anndata==0.9.2 arboreto==0.1.6 cell2location==0.1.3 commot==0.0.3 karateclub==1.2.2 matplotlib==3.7.1 networkx==3.1 numpy==1.23.5 pandas==1.5.3 phate==1.0.11 pot==0.9.1 scanpy==1.9.6 scipy==1.10.1 scvelo==0.3.2 scvi-tools==0.20.3 seaborn==0.12.2 distributed==2024.2.1 dask-expr==0.5.3</code></pre>
</div>
<div id="the-installed-packages-with-versions" class="section level2 hasAnchor" number="2.6">
<h2><span class="header-section-number">2.6</span> The installed packages with versions<a href="installation.html#the-installed-packages-with-versions" class="anchor-section" aria-label="Anchor link to header"></a></h2>
Expand Down Expand Up @@ -436,7 +439,7 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
carData 3.0-5
caret 6.0-94
caTools 1.18.2
CellChat 1.5.0
CellChat 2.0.1
cellranger 1.1.0
circlize 0.4.16
class 7.3-22
Expand Down Expand Up @@ -477,6 +480,8 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
diffobj 0.3.5
digest 0.6.36
dlm 1.1-6
doMC 1.3.8
doRNG 1.8.6
doBy 4.6.22
docopt 0.7.1
doParallel 1.0.17
Expand Down Expand Up @@ -664,6 +669,7 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
polyclip 1.10-6
polynom 1.4-1
praise 1.0.0
presto 1.0.0
prettyunits 1.2.0
princurve 2.1.6
pROC 1.18.5
Expand Down Expand Up @@ -875,13 +881,13 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
croniter 1.4.1
cycler 0.12.1
dask 2024.7.0
dask-expr 1.1.8
dask-expr 0.5.3
dateutils 0.6.12
decorator 4.4.2
deepdiff 7.0.1
Deprecated 1.2.14
deprecation 2.1.0
distributed 2024.7.0
distributed 2024.2.1
dm-tree 0.1.8
dnspython 2.6.1
docrep 0.3.2
Expand Down
2 changes: 1 addition & 1 deletion _book/search_index.json

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,9 @@ <h2><span class="header-section-number">2.4</span> Install required R-packages<a
# install.packages(&quot;BiocManager&quot;,version=&quot;1.30.23&quot;)
BiocManager::install(&quot;ComplexHeatmap&quot;)
BiocManager::install(&quot;scmap&quot;)
BiocManager::install(&quot;clusterProfiler&quot;)</code></pre>
BiocManager::install(&quot;clusterProfiler&quot;)
install.packages(&quot;doMC&quot;)
install.packages(&quot;doRNG&quot;)</code></pre>
<ul>
<li>From CRAN</li>
</ul>
Expand All @@ -359,7 +361,8 @@ <h2><span class="header-section-number">2.4</span> Install required R-packages<a
<p>Usage limitations: Sometimes an API rate limit error occurs, and a GitHub token is needed to provide the GitHub API rate limit. The steps to resolve this are as follows: Register for an account or log in to an existing account on the GitHub website. Then click on your profile picture in the top right corner, go to the dropdown menu and select “Settings.” Next, find “Developer settings” and click on it, then find “Personal access tokens (classic).” Click on it, then click “Create new token (classic).” Create a new token by first naming it anything you like. Then choose the expiration time for the token. Finally, check the “repo” box; the token will be used to download code repositories from GitHub. Click “Generate token.” Copy the generated token password.</p>
<p>After that, set the token in the environment variable in R. Since we are using conda, enter R by typing R in the terminal. Then, enter the command: usethis::edit_r_environ(). This will open a file. Press the i key to edit. Paste the token you copied into the code area as follows: GITHUB_TOKEN=“your_token”.</p>
<p>Then press Esc, type :wq! (force save). After that, you need to exit Linux and re-enter R. Close and reopen the terminal to apply the environment variable. Reopen Linux, activate the conda environment, and enter R again.</p>
<pre><code>devtools::install_github(&quot;sqjin/CellChat@9e1e605&quot;)
<pre><code>devtools::install_github(&quot;sqjin/CellChat&quot;)
devtools::install_github(&quot;immunogenomics/presto&quot;)
devtools::install_github(&quot;aertslab/SCENIC@fde9774&quot;)
devtools::install_github(&quot;pzhulab/abcCellmap@f44c14b&quot;)
devtools::install_github(&quot;navinlabcode/copykat@d7d6569&quot;)
Expand All @@ -385,7 +388,7 @@ <h2><span class="header-section-number">2.5</span> Install required Python-packa
<ul>
<li>Install required packages</li>
</ul>
<pre><code>pip install stereopy==1.3.1 anndata==0.9.2 arboreto==0.1.6 cell2location==0.1.3 commot==0.0.3 karateclub==1.2.2 matplotlib==3.7.1 networkx==3.1 numpy==1.23.5 pandas==1.5.3 phate==1.0.11 pot==0.9.1 scanpy==1.9.6 scipy==1.10.1 scvelo==0.3.2 scvi-tools==0.20.3 seaborn==0.12.2</code></pre>
<pre><code>pip install stereopy==1.3.1 anndata==0.9.2 arboreto==0.1.6 cell2location==0.1.3 commot==0.0.3 karateclub==1.2.2 matplotlib==3.7.1 networkx==3.1 numpy==1.23.5 pandas==1.5.3 phate==1.0.11 pot==0.9.1 scanpy==1.9.6 scipy==1.10.1 scvelo==0.3.2 scvi-tools==0.20.3 seaborn==0.12.2 distributed==2024.2.1 dask-expr==0.5.3</code></pre>
</div>
<div id="the-installed-packages-with-versions" class="section level2 hasAnchor" number="2.6">
<h2><span class="header-section-number">2.6</span> The installed packages with versions<a href="installation.html#the-installed-packages-with-versions" class="anchor-section" aria-label="Anchor link to header"></a></h2>
Expand Down Expand Up @@ -436,7 +439,7 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
carData 3.0-5
caret 6.0-94
caTools 1.18.2
CellChat 1.5.0
CellChat 2.0.1
cellranger 1.1.0
circlize 0.4.16
class 7.3-22
Expand Down Expand Up @@ -477,6 +480,8 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
diffobj 0.3.5
digest 0.6.36
dlm 1.1-6
doMC 1.3.8
doRNG 1.8.6
doBy 4.6.22
docopt 0.7.1
doParallel 1.0.17
Expand Down Expand Up @@ -664,6 +669,7 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
polyclip 1.10-6
polynom 1.4-1
praise 1.0.0
presto 1.0.0
prettyunits 1.2.0
princurve 2.1.6
pROC 1.18.5
Expand Down Expand Up @@ -875,13 +881,13 @@ <h2><span class="header-section-number">2.6</span> The installed packages with v
croniter 1.4.1
cycler 0.12.1
dask 2024.7.0
dask-expr 1.1.8
dask-expr 0.5.3
dateutils 0.6.12
decorator 4.4.2
deepdiff 7.0.1
Deprecated 1.2.14
deprecation 2.1.0
distributed 2024.7.0
distributed 2024.2.1
dm-tree 0.1.8
dnspython 2.6.1
docrep 0.3.2
Expand Down
2 changes: 1 addition & 1 deletion docs/search_index.json

Large diffs are not rendered by default.

0 comments on commit 50dc547

Please sign in to comment.