gen.DNAbin | R Documentation |
A function that uses information in a dataframe with data obtained from BOLD to genereate a DNAbin object. The DNAbin object returned can be used with the 'ape' package.
gen.DNAbin(x.df = NULL, alignment = NULL, labels.headers = c(...))
x.df |
A dataframe with data obtained from BOLD. |
alignment |
Specify the alignment type. |
labels |
The column names of the data frame to use to create the label. |
a DNAbin object.
Nishan Mudalige
example.df <- get.public(container="PRT") example.DNAbin <- gen.DNAbin(example.df, alignment="COI-5P_nucraw", labels=c("processid","taxon"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.