powered by
import DNA sequences in FASTA format
import_seqs(filepath, format = "fasta")
object of DNAStringSet class
A character vector containing the path to the DNA sequences file. Reading files in gzip format (which usually have the '.gz' extension) is supported. Note that only DNA supported here.
Either "fasta" (the default) or "fastq"
seqPath <- system.file("extdata", "seqs.fa", package = "geneHapR") geneSeqs <- import_seqs(filepath = seqPath, format = "fasta")
Run the code above in your browser using DataLab