powered by
Create a Newick formatted tree from a data.frame of taxonomic assignments
makeNewick(taxa, naSub = "_")
a matrix with a row for each leaf of the tree and a column for each taxonomic classification e.g. the output from getTaxonomy
a character string to substitute in place of NAs in the taxonomy
getTaxonomy
# NOT RUN { taxa<-matrix(c('A','A','A','B','B','C','D','D','E','F','G','H'),nrow=3) makeNewick(taxa) # }
Run the code above in your browser using DataLab