Description Usage Arguments Value Examples
View source: R/MakeEDABargraphs.R
This function uses a shared file (i.e. a mothur-formatted OTU contingency table) and a taxonomy file (i.e. an RDP naive bayesian fixed-rank asignment detail) to generate three stacked barcharts in the folder it is executed in. The function returns a phyloseq object as well by default.
1 | MakeEDABargraphs(shared, taxonomy, retfphyloseq = TRUE)
|
shared |
file location string for the shared file (preferably absolute path) |
taxonomy |
file location string for the taxonomy file (preferably absolute path) |
retfphyloseq |
wheter or not to return a phyloseq object (defaults to true) |
A phyloseq object and three plots in the current directory
1 2 3 4 5 | shareddataset <- system.file("extdata","large_shared_file.shared",
package = "CMETNGS",mustWork = TRUE)
taxonomydataset <- system.file("extdata","large_OTU_basedtax.taxonomy",
package = "CMETNGS",mustWork = TRUE)
edagraphs <- MakeEDABargraphs(shareddataset,taxonomydataset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.