Skip to content

Commit

Permalink
fixed index and clustering workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-la committed Nov 27, 2023
1 parent ab91775 commit 73c85a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
12 changes: 6 additions & 6 deletions docs/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Tutorials
Check out the following tutorials which take you through some common analysis steps with Panpipes:


- [Ingest pipeline](https://panpipes-tutorials.readthedocs.io/en/latest/ingesting_data/Ingesting_data_with_panpipes.html)
- [Preprocessing pipeline](https://panpipes-tutorials.readthedocs.io/en/latest/filtering_data/filtering_data_with_panpipes.html)
- [Integration pipeline](https://panpipes-tutorials.readthedocs.io/en/latest/uni_multi_integration/Integrating_data_with_panpipes.html)
- [Clustering pipeline](https://panpipes-tutorials.readthedocs.io/en/latest/clustering/clustering_tutorial.html)
- [Reference mapping](https://panpipes-tutorials.readthedocs.io/en/latest/refmap_pancreas/Reference_mapping.html)
- [Visualization pipeline](https://panpipes-tutorials.readthedocs.io/en/latest/visualization/vis_with_panpipes.html)
- [Ingest workflow](https://panpipes-tutorials.readthedocs.io/en/latest/ingesting_data/Ingesting_data_with_panpipes.html)
- [Preprocessing workflow](https://panpipes-tutorials.readthedocs.io/en/latest/filtering_data/filtering_data_with_panpipes.html)
- [Integration workflow](https://panpipes-tutorials.readthedocs.io/en/latest/uni_multi_integration/Integrating_data_with_panpipes.html)
- [Clustering workflow](https://panpipes-tutorials.readthedocs.io/en/latest/clustering/clustering_tutorial.html)
- [Reference mapping workflow](https://panpipes-tutorials.readthedocs.io/en/latest/refmap_pancreas/Reference_mapping.html)
- [Visualization workflow](https://panpipes-tutorials.readthedocs.io/en/latest/visualization/vis_with_panpipes.html)

Spatial analysis:

Expand Down
11 changes: 7 additions & 4 deletions docs/workflows/clustering.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ The panpipes clustering pipeline runs the following steps:
```
neighbors:
rna:
use_existing: False
# number of Principal Components to calculate for neighbours and umap:
dim_red: X_harmony (or any reduced dimensional represenation in your MuData object)
use_existing: True
# which representation in .obsm to use for nearest neighbors
# if dim_red=X_pca and X_pca not in .obsm, will be computed with default parameters
dim_red: X_pca
#how many components to use for clustering
n_dim_red: 30
# number of neighbours
Expand Down Expand Up @@ -43,4 +44,6 @@ neighbors:
## Expected structure of MuData object
The ideal way to run `panpipes clustering` is to use the output mudata file from `panpipes preprocess` or `panpipes integration`, as this will make sure the MuData object has correctly names layers and slots.

The bare minimum MuData object required is normalised data in the X slot of each modality, a sample_id column in each slot of the obs and the outer obs, and the layers indicated in the find_markers section of the yml.
The bare minimum MuData object required is normalised data in the X slot of each modality, a sample_id column in each slot of the obs and the outer obs, and the layers indicated in the find_markers section of the yml.

Check the [clustering tutorial](https://panpipes-tutorials.readthedocs.io/en/latest/clustering/clustering_tutorial.html) for an example of how to run the workflow.

0 comments on commit 73c85a4

Please sign in to comment.