Description Usage Arguments See Also Examples
View source: R/barplotMulticf.R
An internal function of summarizeMulticf
to produce summary barplots.
1 2 3 4 5 6 7 8 |
x |
an object from " |
type |
c(" |
reorder |
one of " |
plot |
a logical specifying whether to plot barplots. Defaults to |
pdf |
a logical specifying whether to export plots into pdf files.
Defaults to |
pwd |
Numeric specifying the width of pdf files. Should be in the same length of " |
1 2 3 4 5 6 7 8 9 10 11 12 | data(Brassidata)
trees <- Brassidata$trees
taxa <- Brassidata$taxaTable
# perform cladeFilter analysis
ures <- cladeFilter(trees = trees, taxa = taxa, level = 2)
# summarize cladeFilter results with multiple groupings
usum <- summarizeMulticf(ures, trees, plot.tree = FALSE, write.table = FALSE)
# returns NULL when the grouping covers the whole tree
if(!is.null(usum)){
# to make barplots
utest <- barplotMulticf(x = usum, reorder="up", plot = TRUE, pdf=FALSE)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.