import_seqs {geneHapR}R Documentation

Import Sequences

Description

import DNA sequences in FASTA format

Usage

import_seqs(filepath, format = "fasta")

Arguments

filepath

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.

format

Either "fasta" (the default) or "fastq"

Value

object of DNAStringSet class

Examples


seqPath <- system.file("extdata", "seqs.fa", package = "geneHapR")
geneSeqs <- import_seqs(filepath = seqPath, format = "fasta")


[Package geneHapR version 1.2.4 Index]