---
title: "Exploring Taxonomic trees with OmaDB"
author: "Klara Kaleb"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{Exploring Taxonomic trees with OmaDB}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

Using Roma, a user can easily obtain a taxonomic tree of interest using the getTaxonomy structure. The tree can be restricted to a certain root or by a list of members and the data is returned in the newick format. The newick can then be exported and used to create a tree object using ape which can then be visualised using ggtree. This can be done using the getTaxonomy() function, the output example of which is below.


```{r, warning=FALSE, message=FALSE}
library(OmaDB)

load('../data/taxonomy.rda')

getObjectAttributes(taxonomy)


```

This tree can be further analysed and annotated using the ggtree package available in Bioconductor.