You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everybody,
I hope you can help me with a problem I am facing since a wile. I am tri=ying to perform CCA on my phyloseq object made from 16S amplicon sequencing.
I have staterd with a basic line: plot_cca(physeq = x, grouping_column = "type")
But I keep having this errore message: Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels
However the "type" grouping variable is a 2 level factor in the sample_data:
Hi everybody,
I hope you can help me with a problem I am facing since a wile. I am tri=ying to perform CCA on my phyloseq object made from 16S amplicon sequencing.
I have staterd with a basic line:
plot_cca(physeq = x, grouping_column = "type")
But I keep having this errore message:
Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels
However the "type" grouping variable is a 2 level factor in the sample_data:
I can't figure out what's the problem. My grouping variable is clearly a factor.
I hope somedy can help me...
Cheers
Error in
contrasts<-
(*tmp*
, value = contr.funs[1 + isOF[nn]]) :contrasts can be applied only to factors with 2 or more levels
The text was updated successfully, but these errors were encountered: