powered by
This function creates a list tree objects of type 'phylo' for use in plotting the trees.
createTrees(data, samples = NULL, level = "genus", split = ".")
A data frame in which each column contains the rdp read counts for every taxa given in the row names.
Deprecated. Only send the columns in data to create.
The depth the tree creation will go down to (kingdom, phylum, class, order, family, genus, species, subspecies).
This is the character that separates the taxa levels in the row names.
A list of 'phylo' objects that can be passed to plotTree to plot them.
For 'level' k, p, c, o, f, g, s and ss can be used in place of kingdom, phylum, class, order, family, genus, species and subspecies respectively.
data(saliva) ### Creates a tree for the 4th sample in 'Saliva' salivaTree <- createTrees(saliva[,4, drop=FALSE])
Run the code above in your browser using DataLab