fasta_to_phylo: Create a random phylogeny, with the same taxa names as the...

Description Usage Arguments Value Author(s) Examples

View source: R/fasta_to_phylo.R

Description

Create a random phylogeny, with the same taxa names as the FASTA file and the desired crown age

Usage

1
fasta_to_phylo(fasta_filename, crown_age)

Arguments

fasta_filename

a FASTA filename. Use get_fasta_filename to obtain a testing FASTA filename.

crown_age

the crown age of the phylogeny

Value

a a random phylogeny, with the same taxa names as the FASTA file and the desired crown age

Author(s)

Richèl J.C. Bilderbeek

Examples

1
2
3
4
5
6
7
8
  # Create a random phylogeny, with
  # - the same taxa names as the FASTA file
  # - the desired crown age
  fasta_filename <- beautier::get_fasta_filename()
  initial_phylogeny <- fasta_to_phylo(
    fasta_filename,
    crown_age = 15
  )

richelbilderbeek/ribir documentation built on March 19, 2021, 3:55 a.m.