Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Nicodemus committed Jan 17, 2025
1 parent 0cfdf72 commit 6a51b62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,10 @@ Extensive documentation, including several tutorials, can be found in [CAJAL's r

## New in this release
Version 1.5 of CAJAL incorporates two significant new pieces of functionality for the analysis of neuron morphology, unbalanced Gromov-Wasserstein (a matching tool which allows for partial or incomplete matches) and fused Gromov-Wasserstein (a tool which allows the incorporation of additional feature data about neuron nodes, e.g., soma or dendrite.)
These are discussed in detail in the documentation [in a worked example tutorial](https://cajal.readthedocs.io/en/stable/notebooks/Example_5.html) and, at a more theoretical level, [here](https://cajal.readthedocs.io/en/stable/gw_variants.html).

- Cleaned up function signatures - making function signatures more uniform between Euclidean and geodesic functions, removing unused parameters
- Removed source of nondeterminism/non-reproducibility in Louvain clustering algorithm
- Added optional dependencies for usage in the Docker image
- Restored parallelism to SWC sampling
- Fixed bug in implementation of Weighted Nearest Neighbors algorithm
1 change: 1 addition & 0 deletions docs/gw_variants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ We let :math:`(X,\mu)`, :math:`(Y,\nu)` and :math:`\mathcal{G}`` be as before.
Classical Gromov-Wasserstein treats cells purely geometrically, as shapes. In searching for good alignments between two neurons, it doesn't consider some important information present in cell morphology reconstructions, such as the labels for the soma and dendrite nodes.
On biological grounds, it is reasonable to argue that a "good alignment" between two neurons should align the soma node to the soma node, align axon to axon, basal dendrites to basal dendrites, and apical dendrites to apical dendrites. Fused Gromov-Wasserstein is a construct
which modifies classical Gromov-Wasserstein to add a penalty term for transport plans which align nodes of different types. By making the penalty term large, we can bias the search algorithm towards transport plans which reflect the additional information available in the cell structure.
For more details please see the [Fused Gromov-Wasserstein paper](https://arxiv.org/abs/1811.02834) due to Vayer, Chapel, Flamary et. al.

The formula for the fused GW cost of a transport plan is

Expand Down

0 comments on commit 6a51b62

Please sign in to comment.