Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running run_aldex with kruskal or glm_anova for more than 2 level comparisons #114

Open
LauGuaUuu opened this issue Mar 22, 2024 · 0 comments

Comments

@LauGuaUuu
Copy link

Good morning!

I am suspecting the functionn run_aldex with comparisons with co-variates with more than 2 levels does not work. This is, the options "kruskal" and "glm_anova".

I get this error message when running "run_aldex":

Error in UseMethod("filter") :
no applicable method for 'filter' applied to an object of class "c('simpleError', 'error', 'condition')"

This i the code I use, which works if I test a group or co-variate with 2 levels with t.test:

Aldex.Cd <- run_aldex(
phy.Cd.10prev,
group ="Treat", #Treat has 5 levels
taxa_rank = "Genus",
transform = "identity",
norm = "none",

norm_para = list(),

method = "kruskal",
p_adjust = "fdr",
pvalue_cutoff = 0.05,
mc_samples = 128,
denom = "all",
paired = FALSE
)

Being my group of comparison "Treat" composed of 5 levels. A said, if I use a group with 2 levels and method = "t.test", then the run_aldex works, but I want to run the multiple group test!

Thank you very much!.. I hope you can help soon...

LAU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant