plot_indsp: Plot Indicator species Analysis Results

Description Usage Arguments Details Value Author(s) References Examples

Description

This function plots the results from an indicator species analysis.

Usage

1
plot_indsp(indsp, omicsData, x_axis = "Group", group = "Phylum")

Arguments

indsp

an indicator species analysis results object, created by indsp_calc

omicsData

an object of the class 'seqData' created by as.seqData.

x_axis

which grouping value to put on the x-axis. Default is "Group".

group

Which taxonomic level to group the results by. Default is "Phylum".

Details

This function creates a heatmap-type plot showing the results of an indicator species analysis.

Value

A plot of indicator species analysis results.

Author(s)

Allison Thompson

References

De Cáceres, M. and Legendre, P. 2009. Associations between species and groups of sites: indices and statistical inference. Ecology 90(12): 3566-3574.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
library(mintJansson)
data(rRNA_data)
rRNA_data <- group_designation(omicsData = rRNA_data, main_effects = c("site", "treatment"), time_course=NULL)
rRNA_norm <- normalize_data(omicsData = rRNA_data, norm_fn = "css", normalize = TRUE)

rRNA_indsp <- indsp_calc(omicsData = rRNA_norm, within=NULL, pval_thresh=0.05)
head(rRNA_indsp)
summary(rRNA_indsp)
plot_indsp(indsp = rRNA_indsp, omicsData = rRNA_data)

## End(Not run)

pmartR/pmartRseq documentation built on May 25, 2019, 9:20 a.m.