Learn R Programming

MetamapsDB (version 0.0.2)

buildTree: Taxonomic tree of the taxons

Description

`buildTree` Returns taxonomic tree as a igraphObject of the taxids up to phylum

Usage

buildTree(taxids = c(287, 280), standardisedRanks = c("superkingdom",
  "phylum", "class", "order", "family", "genus", "species"))

Arguments

taxids

vector of leave nodes

standardisedRanks

the ranks to report. superkingdom phylum class order family genus species

Examples

Run this code
# NOT RUN {
standardisedRanks  = c("superkingdom", "phylum", "class", "order","family", "genus", "species")
buildTree(taxids = c(287, 280), standardisedRanks )
# }

Run the code above in your browser using DataLab