View source: R/read.BayesANT.library.R
read.BayesANT.data | R Documentation |
BayesANT
.Function to import DNA sequences data in the format required by
BayesANT
.
read.BayesANT.data(fasta.file, rank = NULL, rank_names = NULL, sep = ";")
fasta.file |
File in .fas or .fasta format containing the DNA sequences.
The correct format for the annotation in the file should
start with the ID of the sequence, followed by
a space and the word |
rank |
Numeric argument indicating the number of taxonomic ranks
used to construct the library. Counting starts after the
|
rank_names |
Names for the taxonomic ranks, eg. "Class" or "Species".
Default is |
sep |
Pattern in the fasta file to separate the rank. Ususally, we have ';', but
consider also using |
An object of class c("data.frame", "BayesANT.data")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.