README.md

What is tinselR?

tinselR (pronunced tinsel-er) at its’ most basic level is a graphical viewer of Newick-formatted phylogenetic trees and as an application for producing publication-ready figures. The power of tinselR comes with combining a genetic distance matrix for annotating a tree for epidemiological outbreak analyses. A genetic distance matrix contains SNP differences for all pairwise comparisons for the tips on the tree. One can also include a heatmap when that data is provided in the meta data file. When you are happy with the way the image looks, you can download as either a pdf, png, or tiff.

We have an open access publication for tinselR in Microbial Resouce Annocements.

Issues, problems, suggestions, thoughts

If you have any the above, please submit an issue on github.

Requires -

Travis build
status

Quick Start

1). Install devtools package

Run this code in your R console -

install.packages("devtools", dep=T)

2). Install ggtree and treeio

Note - installation of ggtree should automatically cause treeio to install

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("ggtree")

3). Install and launch the tinselR shiny application

Note - the released for production version should be installed by specifying the release branch (e.g. @release-V0.0.090)

devtools::install_github("jennahamlin/tinselR@release-V0.0.0.90")
library(tinselR)
run_app()

4). Load your data or use the example data

Please click on the ‘Data Upload’ pane, where you can upload your files. Example data is available for playing with tinselR in the ‘Example Data’ pane of the application. The example data sets include all three files (tree, gene, and meta) and are available for selection via one drop down menu

Examples of both the genetic distance matrix and the metadata file

Metadata File

Genetic Distance

5). Alter or annotate your tree

Once the phylogenetic tree is uploaded you can -

Once the genetic distance file is uploaded you can -

If column for heatmap is included in metadata file you can -

Known issues as October 23, 2020

If you are interested in seeing the session info for the computer that developed this application please visit this link. Here all packages and versions that were installed on a windows machine are listed and successfully runs tinselR.



jennahamlin/Tinsel documentation built on Sept. 15, 2021, 9:46 a.m.