richelbilderbeek / pirouette_article

Article about pirouette, by Bilderbeek, Laudanno and Etienne
GNU General Public License v3.0
0 stars 0 forks source link

Process: examples create a distribution of trees of different sizes #116

Closed richelbilderbeek closed 4 years ago

richelbilderbeek commented 4 years ago

On Pergrine:

cd data/p230198/pirouette_example_28
zip twin.zip $(find . | egrep newick)

On local:

[download file]
[unzip]

Analyse:

filenames <- list.files(recursive = TRUE)

t <- tibble::tibble(filename = filenames, n_taxa = NA)

for (i in seq_len(nrow(t))) {
  filename <- t$filename[i]
  t$n_taxa[i] <- ape::Ntip(ape::read.tree(filename))
}
t

hist(t$n_taxa)

Screenshot from 2020-07-29 16-10-46