DaliangNing / iCAMP1

Infer Community Assembly Mechanisms by Phylogenetic bin-based null model analysis (Version 1)
GNU General Public License v2.0
67 stars 25 forks source link

how to change the control and treatment groups when doing a bootstrapping analysis using icamp.boot? #67

Open kangluyao opened 1 month ago

kangluyao commented 1 month ago

Dear Dr. Ning, thanks for your excellent work on iCAMP. I'm writing to seek clarification regarding the icamp.boot function, specifically about setting the control group for bootstrapping analysis. My understanding is that group1 represents the treatment group, while group2 serves as the control. I've attempted to factor the treatment with a specific order, but it doesn't work. Could you please tell me how to manage this? I'm using version 1.5.12 of iCAMP with R-4.4.1. Thanks!

DaliangNing commented 2 weeks ago

@kangluyao it should work as showed in the example code https://github.com/DaliangNing/iCAMP1/blob/master/Examples/SimpleOTU/icamp.test.r. You may send me your code and input files (better also the "...detail.rda" file generated from icamp.big function), to debug. My email ningdaliang@ou.edu

kangluyao commented 1 week ago

Hi, Dr. Ning, thank you for your prompt response. I have sent you an email containing my data and the corresponding results as attachments. Your assistance is greatly appreciated. Please let me know if you need any additional information or clarification.