Skip to content

Commit

Permalink
update tutorials.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanliwei-coder committed Jun 28, 2024
1 parent 37d966c commit 66d9537
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@
],
"source": [
"ms_data.tl.filter_cells(\n",
" min_gene=1, \n",
" min_n_genes_by_counts=3, \n",
" min_counts=1, \n",
" min_genes=3, \n",
" pct_counts_mt=5, \n",
" inplace=True\n",
" )\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/Tutorials/SingleR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"id": "230d105b",
"metadata": {},
"source": [
"`ref_use_col='ClusterName'` is just an example, the actual value is determined based on the reference you use."
"`ref_use_col='ClusterName'` specifies an obs column used for annotating, here is just an example, the actual value depends on the reference to be used."
]
},
{
Expand Down
18 changes: 18 additions & 0 deletions docs/source/content/06_Release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@ Release Notes

.. role:: small

Version 1.3.1
------------------
1.3.1 : 2024-06-28
~~~~~~~~~~~~~~~~~~~

Features:

1. Addition of new method **'adaptive'** for `st.tl.get_niche <stereo.algorithm.get_niche.GetNiche.main.html>`_ (the original method is named **'fixed'**).
2. Changed some parameter names of `st.tl.filter_cells <stereo.core.StPipeline.filter_cells.html>`_ and `st.tl.filter_genes <stereo.core.StPipeline.filter_genes.html>`_ for eliminating ambiguity(old parameter names are still compatible).
3. Filter the results of **PCA** and **UMAP** simultaneously when running `st.tl.filter_cells`.

BUG Fixes:

1. Fixed the problem that `ms_data.to_isolated` is incompatible with that there are duplicate **cell names** in different samples.
2. Fixed the problem that `st.io.read_gef` is incompatible with those **GEF** files that contain **gene names** ending with **'_{number}'** (like **'ABC_123'**).
3. Upgraded **gefpy** to latest for fixing the error that **gene names** are lost after running **CellCorrection**.


Version 1.3.0
------------------
1.3.0 : 2024-05-31
Expand Down
16 changes: 16 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ Workflow
Latest Additions
------------------

Version 1.3.1
~~~~~~~~~~~~~~~~~~~
1.3.1 : 2024-06-28

Features:

1. Addition of new method **'adaptive'** for `st.tl.get_niche <content/stereo.algorithm.get_niche.GetNiche.main.html>`_ (the original method is named **'fixed'**).
2. Changed some parameter names of `st.tl.filter_cells <content/stereo.core.StPipeline.filter_cells.html>`_ and `st.tl.filter_genes <content/stereo.core.StPipeline.filter_genes.html>`_ for eliminating ambiguity(old parameter names are still compatible).
3. Filter the results of **PCA** and **UMAP** simultaneously when running `st.tl.filter_cells`.

BUG Fixes:

1. Fixed the problem that `ms_data.to_isolated` is incompatible with that there are duplicate **cell names** in different samples.
2. Fixed the problem that `st.io.read_gef` is incompatible with those **GEF** files that contain **gene names** ending with **'_{number}'** (like **'ABC_123'**).
3. Upgraded **gefpy** to latest for fixing the error that **gene names** are lost after running **CellCorrection**.

Version 1.3.0
~~~~~~~~~~~~~~~~~~~
1.3.0 : 2024-05-31
Expand Down
3 changes: 2 additions & 1 deletion stereo/utils/pipeline_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ def cluster_bins_to_cellbins(
:param bins_data: StereoExpData object of bins.
:param cellbins_data: StereoExpData object of cellbins.
:param bins_cluster_res_key: cluster result key in bins' result.
:param bins_cluster_res_key: cluster result key in `bins_data.tl.result`, the mapped result will be named as
`{bins_cluster_res_key}_from_bin` and added into `cellbins_data.tl.result`.
:return: The object of StereoExpData assigned to parameter `cellbins_data`.
"""
Expand Down

0 comments on commit 66d9537

Please sign in to comment.