prepareReferenceFasta {VarCon}R Documentation

Imports Fasta file from filepath.

Description

This function imports Fasta file of the reference genome into R enviroment as DNAStringset.

Usage

prepareReferenceFasta(filepath)

Arguments

filepath

R conform filepath to the fasta file of the reference genome to use.

Value

Creates new DNAStringSet from the object stated by the entered filepath.

Examples

 ## Loading exemplary DNAStringSet
 filepath <- system.file("extdata", "fastaEx.fa", package="Biostrings")
 referenceDnaStringSet <- prepareReferenceFasta(filepath)


[Package VarCon version 1.0.0 Index]