load.fasta: A function to load fasta files

Description Usage Arguments Value Examples

View source: R/load.fasta.r

Description

Loads the specified fasta file

Usage

1
load.fasta(file = "n", x, ...)

Arguments

file

Name of the fasta file

x

a character array of DNA sequence. Use "A", "T", "G" and "C" to denote the nucleatide composition. When a fasta file is also specified, the fasta file takes priority, and this character sequence is ignored

...

additional parameters you might want to pass to the seqinr::read.fasta function

Value

A list of objects of class KZsqns

Examples

1
dna1 = load.fasta("mitochondrial01.fasta", as.string = TRUE) # not run

HVoltBb/kondonz documentation built on Jan. 11, 2020, 3:30 a.m.