To cite package ‘megatrees’ in publications use:

Li D (2026). megatrees: Subsets of Randomly Selected Phylogenies from Existing Mega-Phylogenies. R package version 1.0.0, https://CRAN.R-project.org/package=megatrees.

Corresponding BibTeX entry:

  @Manual{,
    title = {megatrees: Subsets of Randomly Selected Phylogenies from
      Existing Mega-Phylogenies},
    author = {Daijiang Li},
    year = {2026},
    note = {R package version 1.0.0},
    url = {https://CRAN.R-project.org/package=megatrees},
  }