collect_files_n_alignments: Collects the number of alignments of all phylogenies...

Description Usage Arguments Value Examples

Description

Collects the number of alignments of all phylogenies belonging to a multiple parameter file in the melted/uncast/long form

Usage

1

Arguments

filenames

names of the parameter file

Value

A dataframe with all number of sampled alignments of all files

Examples

1
2
3
4
5
6
7
8
  filenames <- c(
    find_path("toy_example_1.RDa"),
    find_path("toy_example_3.RDa")
  )
  df <- collect_files_n_alignments(filenames)
  testit::assert(names(df) == c("filename", "n_alignments"))
  testit::assert(nrow(df) == length(filenames))
  testit::assert(df$n_alignments == c(2, 4))

richelbilderbeek/wiritttea documentation built on May 27, 2019, 8:02 a.m.