Performing principal coordinate analysis (PCoA) in R and visualizing with ggplot2 (CC186)

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 37

  • @shillawolf4686
    @shillawolf4686 Рік тому +2

    I am working on a thesis project, and i had to run pcoa. But i had no clue as to how and your video really helped me to understand what i should do and why these steps are taken. Know that your videos are helping a lot of students out there to better understand how to perform statistical analysis and we are very gratefull!

  • @andreamaritin2856
    @andreamaritin2856 Рік тому +2

    Thank you very much! I was strugling with r projects in my master's degree and you just saved my grades.

  • @russtin1
    @russtin1 2 роки тому +2

    My heart sank when you hard coded those numbers. I should have had more faith in you.

  • @rojalinbiswal6723
    @rojalinbiswal6723 2 роки тому +1

    when I am trying to plot getting error so how can I find your data ie., sample data to run the same code ? please answer .

    • @Riffomonas
      @Riffomonas  2 роки тому

      You can find the link to GitHub at www.riffomonas.org/code_club/2022-02-10-pcoa

  • @giovanniwidmer29
    @giovanniwidmer29 2 роки тому +1

    Pat, at the risk of sounding professorial, it's principal, not principle. Thanks for the excellent education material!

  • @jiayunzou9867
    @jiayunzou9867 2 роки тому +1

    Thanks for this wonderful video!! If we need to extract the first two axes for analysis of microbial community composition. I was wondering which one is better: PCoA or NMDS? Really looking forward to your reply, thanks a lot!

    • @Riffomonas
      @Riffomonas  2 роки тому

      Probably PCoA

    • @jiayunzou9867
      @jiayunzou9867 2 роки тому

      @@Riffomonas Thank you for the timely reply, it helps!

  • @absartalat
    @absartalat 2 роки тому +1

    Thank you for this. Looking forward to NMDS lecture.

    • @Riffomonas
      @Riffomonas  2 роки тому

      Thanks for watching Absar!

  • @valentinberrios5927
    @valentinberrios5927 Рік тому

    Hey thanks so much!, It captures my attention the fact that there is lower explained variation by the two first axis in comparison with PCA analysis. For my understanding , it is more acceptable when the sum of the explained variation by the two first axis is greater than 50% in PCA. It seems like it is a tendency to get lower explained variance in PCoA isn't it ?

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Рік тому

    I agree with base R plots vs ggplot2 but still it is good to know. Many of the packages out there still use base R - especially the older ones. :(

  • @sven9r
    @sven9r 2 роки тому +1

    lovely! How do you feel about PCoA vs NMDS in metabarcoding studies?
    I think the question of which ordination is appropriate for the given data, is one of the most common source for mistakes in modern ecology.

    • @Riffomonas
      @Riffomonas  2 роки тому

      I prefer nmds but I’m only using them to make pretty pictures

    • @sven9r
      @sven9r 2 роки тому

      @@Riffomonas ty looking forward to the next episode :) have a nice weekend

  • @audreythomas4324
    @audreythomas4324 10 місяців тому

    I wish I had found this before 2am 😅this explains so much better than anything else I've seen

  • @rajaldebnath6007
    @rajaldebnath6007 2 роки тому +1

    Rival software package: QIIME. 😂

  • @djangoworldwide7925
    @djangoworldwide7925 Рік тому

    OMG i got sick when you hard coded the axes :OO thank god you fixed it :P

  • @cristianjaviermena6955
    @cristianjaviermena6955 Рік тому

    awsome doc! thanks a lot. from argentina watching! and learning

  • @priyankamishra3632
    @priyankamishra3632 2 роки тому +1

    how to plot a pcoa for pathways instead of showing the samples?

    • @Riffomonas
      @Riffomonas  2 роки тому +2

      Thanks for watching! You’d have to have a similar matrix but where the pathways are on the rows in place of the samples or in the columns in place of the taxa. What you do depends on what you want each point to represent

    • @priyankamishra3632
      @priyankamishra3632 2 роки тому

      @@Riffomonas Thank you for the clarification. I'll try in this way.

  • @kattiacristina
    @kattiacristina 2 роки тому +1

    Great!! Thanks for this video

  • @manueltiburtini6528
    @manueltiburtini6528 2 роки тому

    Don't you need to perform Bartlett sphericity test or KMO test before? What's about triangle inequality and Calliez correction for negative eigenvalues?

    • @Riffomonas
      @Riffomonas  2 роки тому +1

      When done with a distance like Bray-Curtis those are not performed

  • @alessandrorosati969
    @alessandrorosati969 Рік тому

    How is it possible to generate outliers uniformly in the p-parallelotope defined by the
    coordinate-wise maxima and minima of the ‘regular’ observations in R?

    • @Riffomonas
      @Riffomonas  Рік тому

      Sorry but I'm not sure I understand what you're asking. It's likely beyond what I was trying to teach in this episode

  • @zmac18
    @zmac18 2 роки тому +1

    Just in my time of need! Thank you!

    • @Riffomonas
      @Riffomonas  2 роки тому

      Wonderful - I’m glad you found it helpful!

  • @xiaojunslefteyebrow
    @xiaojunslefteyebrow Рік тому

    8:56 how can I do this step to get positive eig values in Python? I did the rest of the project I’m working on in Python