read.fas: Read sequences from a file in FASTA format
Description
Read DNA sequences from a file in FASTA Format.
Usage
read.fas(file)
Value
read.fas returns an object of class Dna.
Arguments
file
the name of the file, which the sequence in the FASTA format is to be read from. If it does not contain an absolute path, the file name is relative to the current working directory,
getwd().
##Reading example file. f<-system.file("example.fas",package="haplotypes")
# invalid character 'N' was replaced with '?' with a warning messagex<-read.fas(file=f)
# an object of class 'Dna'x