Description Usage Arguments See Also Examples
View source: R/createGrouping.R
By giving percent
or count
, the groupings are created from nodes
showing the percent or count of concordances above percent
or count
,
respectively, and returns a data.frame
that can be used directly as taxa
in functions cladeFilter
and backboneBP
. Also can specify the nodes to
produce groupings by giving nodes
directly.
1 | createGrouping(concor, percent = 0.5, count = NULL, bp = NULL, nodes = NULL)
|
concor |
an object from " |
percent |
a numeric between 0 to 1. The groupings are created from nodes
showing the percent of concordances above |
count |
a numeric or integer higher than or equals to 1.
The groupings are created from nodes showing the count of concordances
above |
bp |
a numeric specifying with which bp the result in |
nodes |
a numeric vector specifying the node(s) to create |
1 2 3 4 5 6 7 8 9 | ## Not run:
data(Brassidata)
trees <- Brassidata$trees
ref <- Brassidata$ref
concor.n<-concor.node(ref = ref,trees = trees, bp = c(0,30,50), getTreeNames = FALSE)
# to get groupings from nodes with >70% tree in concordance
taxa <- createGrouping(concor.n, percent = 0.7)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.