Description Usage Arguments Value Author(s) Examples
Filter and mutate BOLD dataset to produce a curated dataframe with rows as individual specimen and columns as specimen information. It adds a new column sequence with fasta sequences as string.
1 2 | prepare_bold_res(bold_res, marker_code = "", species_names = TRUE,
coordinates = TRUE, ambiguities = TRUE, min_length = 0, max_length = 800)
|
bold_res |
A list of lists returned by
|
marker_code |
(character) If not empty, only specimen with field |
species_names |
a logical value indicating whether specimen with no species name information should be removed. |
coordinates |
a logical value indicating whether specimen with no latitude or longitude spatial coordinates information should be removed. |
ambiguities |
a logical value indicating whether specimen with DNA sequence containing IUPAC ambiguities should be removed. |
min_length |
numeric. Minimum length of a DNA sequence. Default value: 0 bp. |
max_length |
numeric. Maximum length of a DNA sequence. Default value: 800 bp |
a data.frame with same fields than resBold$data$markercode + a new column sequence with fasta sequences as string.
Pierre-Edouard GUERIN, Stephanie MANEL
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.