Skip to contents

Create a DNA string set object using a DNA bin object to write and read a FASTA file.

Usage

genDNAStringSet(DNABin, fileName = "new_DNAString_file")

Arguments

DNABin

A DNA bin oibject

fileName

An optional file name that will be saved to the directory

Value

A DNA string set

Examples

# generate a DNA string set object using the taxon 'Antheraea polyphemus'

specdf_Anth <- querySpecData("Antheraea polyphemus")[1:10,]

DNABin_Anth <- genDNABin(specdf_Anth)

DNAStringset_Anth <- genDNAStringSet(DNABin_Anth)