Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yihming committed Jul 5, 2022
1 parent e16428b commit 868f8f6
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Preprocess
filter_data
identify_robust_genes
log_norm
arcsinh_transform
highly_variable_features
select_features
pca
Expand Down Expand Up @@ -164,6 +165,7 @@ Plotting
ridgeplot
wordcloud
plot_gsea
elbowplot

Pseudo-bulk analysis
---------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
)

# The short X.Y version
version = "1.6"
version = "1.7"
# The full version, including alpha/beta/rc tags
release = "1.6.0"
release = "1.7.0"


# -- General configuration ---------------------------------------------------
Expand Down Expand Up @@ -83,7 +83,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Release Highlights in Current Stable
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. include:: release_notes/version_1_6.rst
.. include:: release_notes/version_1_7.rst

.. toctree::
:maxdepth: 1
Expand Down
5 changes: 5 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Release Notes
.. note::
Also see the release notes of `PegasusIO <https://pegasusio.readthedocs.io/en/stable/release_notes.html>`__.

Version 1.7
~~~~~~~~~~~~~

.. include:: release_notes/version_1_7.rst

Version 1.6
~~~~~~~~~~~~~

Expand Down
12 changes: 12 additions & 0 deletions docs/release_notes/version_1_7.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
1.7.0 :small:`July 5, 2022`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**New Features**

* Add `pegasus.elbowplot <./api/pegasus.elbowplot.html>`_ function to generate elbowplot, with an automated suggestion on number of PCs to be selected based on random matrix theory (`[Johnstone 2001] <https://projecteuclid.org/journals/annals-of-statistics/volume-29/issue-2/On-the-distribution-of-the-largest-eigenvalue-in-principal/10.1214/aos/1009210544.full>`_ and `[Shekhar 2022] <https://elifesciences.org/articles/73809>`_).
* Add `arcsinh_transform <./api/pegasus.arcsinh_transform.html>`_ function for arcsinh transformation on the count matrix.

**API Changes**

* Function ``nearest_neighbors`` has additional argument ``n_comps`` to allow use part of the components from the source embedding for calculating the nearest neighbor graph.
* Add ``n_comps`` argument for ``run_harmony``, ``tsne``, ``umap``, and ``fle`` (argument name is ``rep_ncomps``) functions to allow select part of the components from the source embedding.
2 changes: 1 addition & 1 deletion pegasus/tools/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def fle(
rep: ``str``, optional, default: ``"diffmap"``
Representation of data used for the calculation. By default, use Diffusion Map coordinates. If ``None``, use the count matrix ``data.X``.
rep_ncomps: `int`, optional (default: None)
rep_ncomps: ``int``, optional (default: None)
Number of components to be used in `rep`. If rep_ncomps == None, use all components; otherwise, use the minimum of rep_ncomps and rep's dimensions.
K: ``int``, optional, default: ``50``
Expand Down

0 comments on commit 868f8f6

Please sign in to comment.