Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Islands vignette #126

Open
ms609 opened this issue Aug 22, 2024 · 0 comments
Open

Islands vignette #126

ms609 opened this issue Aug 22, 2024 · 0 comments

Comments

@ms609
Copy link
Owner

ms609 commented Aug 22, 2024

I had half a vignette in tree-islands.Rmd.

Work out whether this needs completing or whether it's redundant to Islands.Rd

---
title: "Finding islands of phylogenetic trees"
author: "[Martin R. Smith](https://smithlabdurham.github.io/)"
output: 
  rmarkdown::html_vignette:
    fig_width: 6
    fig_height: 4
bibliography: ../inst/REFERENCES.bib
csl: https://raw.githubusercontent.com/citation-style-language/styles/master/apa-old-doi-prefix.csl
vignette: >
  %\VignetteIndexEntry{Finding islands of phylogenetic trees}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

Collections of phylogenetic trees, such as those output by Bayesian or parsimony
analysis, may occupy discrete regions of tree space such that individual
clusters of trees are separated from all other trees by a certain distance.
Finding such islands, and taking their consensus, can be an effective way
of summarising conflicting signal in a phylogenetic dataset [@Silva2021].

```{r col-trees-by-score}
# Load required libraries
library("TreeTools", quietly = TRUE)
library("TreeDist")

# Generate a set of trees
trees <- as.phylo(as.TreeNumber(BalancedTree(16)) + 0:100 - 15, 16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant