Description Usage Arguments Value Examples
View source: R/plot_edge_assignment.R
This implementation is built upon ggplot geom_tile.
1 | plot_edge_assignment(assignment, level, plot_title, column_title, filename)
|
assignment |
The EDGE-like assignment table. |
level |
The taxonomic level to plot (i.e., family, strain, etc...). |
plot_title |
The plot title, e.g., "Project XX, Run YY". |
column_title |
The column title. |
filename |
The PDF file name mask. |
the ggplot2 plot.
1 2 3 4 5 | pa_fpath <- system.file("extdata", "HMP_even//allReads-pangia.list.txt", package="MetaComp")
pangia_assignment = load_edge_assignment(pa_fpath, type = "pangia")
plot_edge_assignment(pangia_assignment, "phylum", "Pangia", "HMP Even",
file.path(tempdir(), "assignment.pdf"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.