Learn R Programming

trace (version 1.0.0)

read_fsa: Read fsa file

Description

Read fsa file into memory and create fragments object

Usage

read_fsa(files)

Value

A list of fragments objects

Arguments

files

a chr vector of fsa file names. For example, return all the fsa files in a directory with 'list.files("example_directory/", full.names = TRUE, pattern = ".fsa")'.

Details

read_fsa is just a wrapper around seqinr::read.abif() that reads the fsa file into memory and stores it inside a fragments object. That enables you to use the next function find_ladders().

See Also

find_ladders(), plot_data_channels()

Examples

Run this code

fsa_file <- read_fsa(system.file("abif/2_FAC321_0000205983_B02_004.fsa", package = "seqinr"))
plot_data_channels(fsa_file)

Run the code above in your browser using DataLab