concatipede_prepare {concatipede} | R Documentation |
Load alignments and prepare template correspondence table for concatenate () function
Description
This function creates a template correspondence table that can also be saved in the working directory.
Usage
concatipede_prepare(fasta_files, out = "seqnames", excel = TRUE, exclude)
Arguments
fasta_files |
Optional, a vector of paths to the fasta files that should be merged. If this argument is missing, the function automatically detects and uses all the fasta files present in the working directory. |
out |
Optional, a filename for the correspondence table template to save (without extension). No file is saved if |
excel |
Boolean, should the correspondence table template be saved in excel format? If |
exclude |
If no |
Value
A tibble with the correspondence table template (invisibly if an out
argument was provided to save the table to a file).
Examples
dir <- system.file("extdata", package = "concatipede")
fasta_files <- find_fasta(dir)
z <- concatipede_prepare(fasta_files)
z