sequences_write: Write sequences to file

Description Usage Arguments Value

View source: R/read-write.R

Description

Takes a sequence-based object and writes the sequences to file in .FASTA format. For objects with multiple sequence groups, "supermatrices" and "alignment_list", the flpth should point to a directory not a file. Files are then created in this directory based on the group name for each sequence group.

Usage

1
sequences_write(x, flpth, width = 80)

Arguments

x

sequences as "supermatrix", "supermatrices", "alignment" or "alignment_list" objects.

flpth

File path to output file or folder. Character.

width

Max number of base pairs per line, default 80. Integer.

Value

Logical


AntonelliLab/gaius documentation built on June 17, 2020, 8:07 a.m.