|
1 | | -This is a page containing some information about the project. |
| 1 | +# tfpbrowser |
| 2 | + |
| 3 | +## About |
| 4 | + |
| 5 | +The Transmission Fitness Polymorphism Browser (tfpbrowser) is a visualisation tool for output from |
| 6 | +the Transmission Fitness Polymorphism Scanner (tfpscanner)[1-3]. Information on the visualisation |
| 7 | +options can be found below, while details regarding installation of the tfpbrowser package and the |
| 8 | +source code can be found at |
| 9 | +[https://github.com/mrc-ide/tfpbrowser](https://github.com/mrc-ide/tfpbrowser). |
| 10 | + |
| 11 | +Six different visualisations can be accessed by selecting from the ‘View’ dropdown menu on the |
| 12 | +left-hand side. If the ‘View’ option is not visible, then the left-hand side menu may need to be |
| 13 | +expanded by clicking on the double arrow button. |
| 14 | + |
| 15 | +### Tree Visualisations |
| 16 | + |
| 17 | +There are four different tree visualisation options. These are described below, but a number of |
| 18 | +characteristics are common to each tree visualisation: |
| 19 | + |
| 20 | +- The size of the circles (for internal nodes) and triangles (tips) indicates the size of the |
| 21 | +cluster that they represent. |
| 22 | +- The colour indicates a particular characteristic of the cluster. |
| 23 | +- On the right-hand side of each tree visualisation, the colouring of the bars indicates whether a |
| 24 | +genotype (for which a key mutation is labelled) is present (true) or absent (false) in the clusters |
| 25 | +at the same vertical level. |
| 26 | +- Further information on each cluster can be viewed by hovering over it with the mouse cursor. |
| 27 | + |
| 28 | +The four tree visualisation options in the ‘View’ menu are: |
| 29 | + |
| 30 | +#### Tree Clock Outlier |
| 31 | + |
| 32 | +Displays a phylogenetic tree with clusters colour coded (key at the top) according to the value of |
| 33 | +the molecular clock outlier (MCO) statistic. This is computed by the tfpscanner as a measure of the |
| 34 | +degree to which evolutionary rates differed in the lineage leading to a phylogenetic cluster. |
| 35 | +Root-to-tip regression is used to predict the divergence of tips in a cluster and contrasts this |
| 36 | +with divergence within an ancestral clade including the given cluster. This predicted divergence is |
| 37 | +then compared to the true divergence of the cluster. |
| 38 | + |
| 39 | +#### Tree Logistic Growth Rate |
| 40 | + |
| 41 | +Displays a phylogenetic tree with clusters colour coded (key at the top) according to the value of |
| 42 | +the logistic growth rate. This is computed in the tfpscanner using one of two different methods |
| 43 | +depending on the level of model support calculated using the Akaike Information Criterion (AIC) and |
| 44 | +‘relative likelihood’. The first method uses a generalised linear model (GLM) to calculate the log |
| 45 | +odds of a sample being from a cluster of interest compared to a geographically and temporally |
| 46 | +matched sample weighted by prevalence, and multiplied by the estimated mean generation time to |
| 47 | +calculate the relative LGR per generation for each cluster of interest. The second method uses a |
| 48 | +generalised additive model (GAM) combined with a Gaussian process model to identify changes in |
| 49 | +growth rates over time. |
| 50 | + |
| 51 | +#### Tree Mutations |
| 52 | + |
| 53 | +This visualisation has a ‘Mutation’ menu from which to select a particular mutation to be |
| 54 | +highlighted in the phylogenetic tree. Clusters containing the mutation selected will be coloured red |
| 55 | +in the phylogenetic tree while clusters not containing this mutation will be grey. |
| 56 | + |
| 57 | +#### Tree Sequences |
| 58 | + |
| 59 | +This visualisation has a ‘Sequence’ menu from which to select a particular sequence ID. Clusters |
| 60 | +containing this sequence will be coloured red in the phylogenetic tree while those not containing it |
| 61 | +will be grey. |
| 62 | + |
| 63 | +### Scatter plots |
| 64 | + |
| 65 | +The molecular clock outlier and logistic growth rate statistics can also be viewed in scatter plots: |
| 66 | + |
| 67 | +#### Sina Clock Outlier |
| 68 | + |
| 69 | +Displays a scatter plot of the molecular clock outlier statistic value for each phylogenetic cluster |
| 70 | +on the y-axis and the lineage and/or mutation is stratified along the x-axis. The plot marker |
| 71 | +colours indicate the lineage and/or mutation and the size indicates the cluster size, both as per |
| 72 | +the legend on the right-hand side of the plot. _See ‘Tree Clock Outlier’ above for details of the |
| 73 | +molecular clock outlier statistic_. |
| 74 | + |
| 75 | +#### Sina Logistic Growth Rate |
| 76 | + |
| 77 | +Displays a scatter plot of the logistic growth rate value for each phylogenetic cluster on the |
| 78 | +y-axis and the lineage and/or mutation is stratified along the x-axis. The circle colours indicate |
| 79 | +the lineage and/or mutation and the size indicates the cluster size, both as per the legend on the |
| 80 | +right-hand side of the plot. _See ‘Tree Logistic Growth Rate’ above for details of this statistic_. |
| 81 | + |
| 82 | +### Downloads |
| 83 | + |
| 84 | +Tables, plots and .rds files can also be downloaded by clicking on the ‘Cluster statistics’ tab and |
| 85 | +selecting the relevant option. |
| 86 | + |
| 87 | +### References |
| 88 | + |
| 89 | +[1] Volz EM, Boyd O. Transmission Fitness Polymorphism Scanner. Available from: |
| 90 | +https://github.com/mrc-ide/tfpscanner |
| 91 | + |
| 92 | +[2] Volz EM. Fitness, growth and transmissibility of SARS-CoV-2 genetic variants. Nat Rev Genet |
| 93 | +2023. https://doi.org/10.1038/s41576-023-00610-z |
| 94 | + |
| 95 | +[3] Drake KO, Boyd O, Franceschi VB, Colquhoun RM, Ellaby NAF, Volz EM. Phylogenomic early warning |
| 96 | +signals for SARS-CoV-2 epidemic waves. eBioMedicine 2024: 100. |
| 97 | +https://doi.org/10.1016/j.ebiom.2023.104939 |
0 commit comments