Description Usage Arguments Value Author(s) References Examples
This functions applies analysis of variance on the measured environmental variables
in specified groups and constructs a plot showing how the environmental variables vary in the groups.
The plot is annotated with significance level as obtained from anova
.
1 2 | plot_anova_env(physeq, grouping_column, pValueCutoff = 0.05,
select.variables = NULL)
|
physeq |
(Required). A |
grouping_column |
(Required). Name of a categorical variable that is preffered for grouping the. information, this should be one of the components of grouping vector. |
pValueCutoff. |
p-value threshold for significance of anova results, default set to 0.05. |
select.variables. |
A vector of character strings(s) specifying environmental variable(s) to be analysed. If not supplied, all numeric variables are analysed. |
Returns a ggplot object. This can further be manipulated as preferred by user.
Alfred Ssekagiri assekagiri@gmail.com, Umer Zeeshan Ijaz Umer.Ijaz@glasgow.ac.uk
http://userweb.eng.gla.ac.uk/umer.ijaz/, Umer Ijaz, 2015
1 2 3 4 | data(pitlatrine)
physeq<-pitlatrine
p1<-plot_anova_env(physeq,grouping_column = "Country",select.variables=c("Temp","pH"))
print(p1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.