Description Usage Arguments Value Examples
View source: R/DBI_wrapper_funcs.R
Convert a string or vector of strings to an ape DNAbin object.
1 | str2dna(dna_strings)
|
dna_strings |
a string or vector of strings corresponding to a DNA sequence in standard IUPAC notation. |
a DNAbin object containing the sequences, per the package ape
1 2 3 | french_seq_data <- ecto_query('SELECT sample_ID, sample_seq FROM seq_data WHERE ICP_country_code = 1;');
seqs <- str2dna(french_seq_data[,2])
names(seqs) <- french_seq_data[,1]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.