Learn R Programming

pirouette (version 1.6.9)

plot_alignment_from_file: Plot an alignment stored as a file

Description

Plot an alignment stored as a file

Usage

plot_alignment_from_file(fasta_filename, title = "")

Value

an image.DNAbin

Arguments

fasta_filename

name of a FASTA file. Use get_alignment_id to get the ID of the alignment

title

the plot title alignment_params <- create_test_alignment_params() alignment <- create_tral_file( phylogeny = ape::rcoal(4), alignment_params = alignment_params ) plot_alignment_from_file(fasta_filename = alignment_params$fasta_filename)