Skip to content

Commit

Permalink
Merge branch 'main' into work
Browse files Browse the repository at this point in the history
  • Loading branch information
tanliwei-coder committed Nov 29, 2024
2 parents 6ac969c + 9f91197 commit 6cde55a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ conda activate stereopy-doc

rm -rf ./build/*

make html
make html
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,15 @@
"id": "e21bafc3-f64a-47b2-a07d-0d58e5388299",
"metadata": {},
"source": [
"## Visualze cell transfer by dynamic figure"
"## Visualze cell transfer by dynamic figure\n",
"\n",
"<div class=\"alert alert-info\">\n",
"\n",
"A necessary dependency needs to be installed:\n",
" \n",
" pip install nbformat\n",
"\n",
"</div>"
]
},
{
Expand Down Expand Up @@ -982,12 +990,25 @@
"source": [
"## Construct gene regulation network\n",
"\n",
"Here, we use data from **E12.5** and **E14.5** as an example to construct regulatory network between TF genes and target genes inferred along the developmental trajectory between two time points.TF genes list of Mouse and Human can be download from [the link](http://116.6.21.110:8090/share/3ca60300-e8bd-4d67-8b68-14267e428523)."
"Here, we use data from **E12.5** and **E14.5** as an example to construct regulatory network between TF genes and target genes inferred along the developmental trajectory between two time points.TF genes list of Mouse and Human can be download from [the link](http://116.6.21.110:8090/share/3ca60300-e8bd-4d67-8b68-14267e428523).\n",
"\n",
"\n",
"<div class=\"alert alert-info\">\n",
"\n",
"**Torch** is the necessary dependency for this function and needs to be installed first.\n",
"\n",
" CPU: pip install torch==2.4.1+cpu --extra-index-url https://download.pytorch.org/whl\n",
"\n",
" GPU(CUDA11): pip install torch==2.4.1+cu118 --extra-index-url https://download.pytorch.org/whl/\n",
"\n",
" GPU(CUDA12): pip install torch==2.4.1+cu124 --extra-index-url https://download.pytorch.org/whl/\n",
"\n",
"</div>"
]
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"id": "e8fd4151-9b4f-4be2-a3e8-17fe367669d5",
"metadata": {
"execution": {
Expand Down Expand Up @@ -1018,7 +1039,8 @@
" cell_generate_per_time=10000,\n",
" cell_select_per_time=50,\n",
" training_times=10,\n",
" iter_times=30\n",
" iter_times=30,\n",
" use_gpu=False # set to True to use GPU\n",
")"
]
},
Expand Down

0 comments on commit 6cde55a

Please sign in to comment.