Skip to content

Commit

Permalink
Merge pull request #84 from MPI-Dortmund/release_08
Browse files Browse the repository at this point in the history
Release v0.8.0
  • Loading branch information
thorstenwagner authored Dec 14, 2023
2 parents ee801ff + 4970281 commit 66dbd48
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions conda_env_napari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ dependencies:
- pip:
- napari-boxmanager
- napari-tomotwin
- napari-clusters-plotter@git+https://github.com/BiAPoL/napari-clusters-plotter.git@095d9e8

2 changes: 1 addition & 1 deletion docs/strategies/strategy_01.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To start napari run:

.. prompt:: bash $

napari tomo/tomo.mrc umap/tomo_embeddings_filtered_allrefs_label_mask.mrci
napari tomo/tomo.mrc

After starting napari, load the clustering plugin: :guilabel:`Plugins` -> :guilabel:`napari-tomotwin` -> :guilabel:`Cluster umap embeddings`.

Expand Down
2 changes: 1 addition & 1 deletion docs/strategies/strategy_03.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ To start napari run:

.. prompt:: bash $

napari tomo/tomo.mrc umap/tomo_embeddings_filtered_label_mask.mrci
napari tomo/tomo.mrc

After starting napari, load the clustering plugin: :guilabel:`Plugins` -> :guilabel:`napari-tomotwin` -> :guilabel:`Cluster umap embeddings`.

Expand Down
6 changes: 2 additions & 4 deletions docs/tutorials/tut02_cluster.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,17 @@ Now we will approximate the tomogram embeddings to 2D to allow for efficient vis
If you encounter an out of memory error here, you may need to reduce the :guilabel:`fit_sample_size` and/or :guilabel:`chunk_size` values (default 400,000).


Additionally, it generated a mask (`tomo_embeddings_label_mask.mrci`) of the embeddings to allow us to track which UMAP values correspond to which points in the tomogram.

4. Load data for clustering in Napari
^^^^^^^^^^^^^^^^^^^^^^^^

Now that we have all the input files for the clustering workflow we can get started in Napari. First open your tomogram and the embedding mask by:

.. prompt:: bash $

napari your_tomo_a10.mrc out/clustering/your_tomo_a10_embedding_label_mask.mrci
napari your_tomo_a10.mrc

Next open the napari-tomotwin clustering tool via :guilabel:`Plugins` -> :guilabel:`napari-tomotwin` -> :guilabel:`Cluster UMAP embeddings`. Then choose the :guilabel:`Path to UMAP` by clicking on :guilabel:`Select file` and provide the path to your :file:`your_tomo_a10_embeddings.tumap`.
Click :guilabel:`Load` and after a second, a 2D plot of the umap embeddings should appear in the plugin window.
Click :guilabel:`Load` and a 2D plot of the umap embeddings should appear in the plugin window.

5. Find target clusters
^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 66dbd48

Please sign in to comment.