# Compare PCA components

**URL:** <https://discourse.slicer.org/t/compare-pca-components/37300>\
**Category:** Support\
**Created:** [July 10, 2024, 12:28pm UTC](https://discourse.slicer.org/t/compare-pca-components/37300 "2024-07-10T12:28:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dani98](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dani98/32/67536_2.png) [@Dani98](https://discourse.slicer.org/u/Dani98)\
**Post date:** [July 10, 2024, 12:28pm UTC](https://discourse.slicer.org/t/compare-pca-components/37300/1 "2024-07-10T12:28:42Z")

</div>

I’m doing a PCA analysis and I’m using 5 PC components  
For each component I make 2 variations: +100 and -100  
At the end of the work I’d like to visualize the main directions of variations with respect to the mean shape model…in particular as final result I’d like to have the PC components overlapped with the mean shape model to see the main variations  
Is it possible?  
Thank you!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [July 10, 2024, 5:03pm UTC](https://discourse.slicer.org/t/compare-pca-components/37300/2 "2024-07-10T17:03:17Z")

</div>

If you are doing this in context of geometric morphometrics, you can use SlicerMorph to do this. See the tutorial at:

> **[Tutorials/GPA\_2 at main · SlicerMorph/Tutorials](https://github.com/SlicerMorph/Tutorials/tree/main/GPA_2#readme)**
>
> SlicerMorph module tutorials. Contribute to SlicerMorph/Tutorials development by creating an account on GitHub.
