I'm trying to do "Anova" method by run_test_multiple_groups() in R package microbiomeMarker.
I ran the following code,
ps_anova <- phyloseq::subset_samples(ps,
Hypertension_type_2 %in% c("Normal", "Prehypertensive", "Staged")
)
mg_anova <- run_test_multiple_groups(
ps_anova,
group = "Hypertension_type_2",
method = "anova"
)
mg_anova
But the Error showing is
Here is the code I used to generate the phyloseq object ps
ps <- import_qiime2(
otu_qza = "/media/turtle/New Volume/Nihad/Test_analysis_2/PRJNA417579-All/fondue-output/dada2_table.qza",
taxa_qza = "/media/turtle/New Volume/Nihad/Test_analysis_2/PRJNA417579-All/fondue-output/taxonomy.qza",
sam_tab = "/media/turtle/New Volume/Nihad/Test_analysis_2/PRJNA417579-All/fondue-output/PRJNA417579_final - final_metadata_EDITED.tsv",
tree_qza = "/media/turtle/New Volume/Nihad/Test_analysis_2/PRJNA417579-All/fondue-output/rooted-tree.qza"
)
ps
And the files I've used to create this are in here.
Can anyone help me with this?