Description Usage Arguments Details Author(s) See Also Examples
Transfer a vector of all categories in a DNA file to R.
1 | dna.categories(infile, verbose=TRUE)
|
infile |
The input .dna file as a string (i.e., enclosed in quotation marks). If the file is not in the current working directory, specify the path together with the file name. Include the file suffix. Example: |
verbose |
If |
Puts all categories found in a .dna file in a list and imports them as a vector into R.
Philip Leifeld (http://www.philipleifeld.com)
rDNA
dna.init
dna.network
dna.attributes
1 2 3 4 5 6 | download.file("http://www.philipleifeld.de/cms/upload/Downloads/dna-1.31.jar",
destfile = "dna-1.31.jar", mode = "wb")
download.file("http://www.philipleifeld.de/cms/upload/Downloads/sample.dna",
destfile = "sample.dna", mode = "wb")
dna.init("dna-1.31.jar")
categories <- dna.categories("sample.dna")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.