Description Usage Arguments Details Value Author(s) See Also Examples
Downloads sequences associated with the given accession numbers into a ‘DNAbin’ class.
1 2 |
access.nb |
A character vector giving the GenBank accession numbers to download. |
seq.names |
A character vector giving the names to give to each sequence. Defaults to "accession number | species name". |
species.names |
Logical. Should species names be downloaded? Default of TRUE. |
gene |
Logical. Should the name of the gene region be downloaded? Default of TRUE. |
access |
Logical. Should the accession number be downloaded? Default of TRUE. |
as.character |
Logical. Should the sequences be returned as character vector? Default of FALSE, function returns sequences as a ‘DNAbin’ object. |
This function is a modification of read.GenBank
to include metadata with each sequence. Additional data currently implemented are the species names and the gene region from which sequences were derived.
A 'DNAbin' object with the following attributes: "species"
, "gene"
, and "accession_num"
.
Samuel Brown <s_d_j_brown@hotmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 |
sh: 1: cannot create /dev/null: Permission denied
Registered S3 method overwritten by 'spdep':
method from
plot.mst ape
Registered S3 method overwritten by 'pegas':
method from
print.amova ade4
Warning message:
'read.GB' is deprecated. Please use the 'rentrez', 'traits' or 'ape' packages.
Warning message:
'read.GB' is deprecated. Please use the 'rentrez', 'traits' or 'ape' packages.
NULL
NULL
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.