prepareReferenceFasta: Imports Fasta file from filepath.

Description Usage Arguments Value Examples

View source: R/prepareReferenceFasta.R

Description

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

Usage

1

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

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

caggtaagtat/VarCon documentation built on Nov. 26, 2020, 7:03 a.m.