read_alignment {alignfigR}R Documentation

Read a multiple sequence alignment file.

Description

This function parses a FASTA file containing molecular sequence data and returns a named-array of the sequences.

Usage

read_alignment(file)

Arguments

file

File name. NOTE: Only FASTA file are supported!

Value

seq_array, a named-array of the parsed sequence data

Examples

fasta_file <- system.file("extdata", "example.fasta", package = "alignfigR")
plot_frame <- read_alignment(file = fasta_file)

[Package alignfigR version 0.1.1 Index]