Skip to contents

Generates a multiple sequence alignment from a fasta file

msa_pdf is a function that reads a fasta file and generates a multiple sequence alignment as a pdf

Usage

msa_pdf(fasta_path, out_path = NULL, lowerbound = NULL, upperbound = NULL)

Arguments

fasta_path

Character. The path location of the fasta file to be read.

out_path

Character. The path location of the output pdf to write. Default is NULL. If value is NULL, the pdf is written to the same directory as the fasta file.

lowerbound

Numeric. The column that determines the starting location of the MSA. Default is NULL. If value is NULL, the entire multiple sequence alignment is printed.

upperbound

Numeric. The column that determines the ending location of the MSA. Default is NULL. If value is NULL, the entire multiple sequence alignment is printed.

Examples

if (FALSE) { # \dontrun{
msa_pdf()
} # }