Pairwise analysis for beta and alpha diversities #25
-
HI, Abimael |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello Abimael, Thank you for your interest in the MicrobiomeStat package and for your question regarding the analysis of alpha and beta diversities. Yes, MicrobiomeStat does support pairwise comparisons for both alpha and beta diversities. Here's a brief overview of how you can perform these analyses:
These resources should guide you through the process of performing pairwise comparisons in your microbial community analyses. If you have any more specific questions or need further assistance, feel free to reach out! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Chen -- thank you for this amazing tool. I have a follow-up question on this topic: I am working with a dataset where we collected two microbial samples from the same subjects using two different methods. In other words, my dataset has 20 subjects (20 different IDNo), and each subject provided 2 samples collected using two different methods, giving me 40 samples overall. I want to compare if the methods produce different results. I used the paired samples analysis wiki to do the analysis. When analyzing the data, I ran the following analysis for alpha diversity alpha_div <- generate_alpha_test_pair( If I add "Method" as group variable, I lose the dashed lines connecting the same subject when plotting alpha diversities, so I set group to NULL. beta_div <- generate_beta_change_test_pair( In both cases I get an error error: "contrasts can be applied only to factors with 2 or more levels". What would be the correct way to set up my analysis? I have paired samples, so I am assuming I should do paired sample analysis. However, I am unsure about the time/group variables. Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Hello Abimael,
Thank you for your interest in the MicrobiomeStat package and for your question regarding the analysis of alpha and beta diversities.
Yes, MicrobiomeStat does support pairwise comparisons for both alpha and beta diversities. Here's a brief overview of how you can perform these analyses:
Alpha Diversity Analysis: For alpha diversity, you can explore different metrics and perform analyses tailored to your study's needs. Our package provides various functions to calculate alpha diversity and compare it across different groups. More detailed information and step-by-step instructions are available at our alpha diversity analysis page.
Beta Diversity Analysis: Similarly, for …