Description Usage Arguments Author(s) Examples
Given a BOLD individual georeferenced sequences dataframe and a projection CRS, this function will return a spatialpoints object with all coordinates of individual sequences.
1 | spatialpoints_bold(reefishBold, projectionCRS="+init=epsg:3347")
|
reefishBold |
A dataframe with individual sequences as row and 81 descriptors as column. Mandatory fields : lon, lat, species_name, fishbase_species_name, genus_name, family_name, order_name, class_name, sequence |
projectionCRS |
Interface class to the PROJ projection and transformation system. Default value is "+init=epsg:3347" |
Pierre-Edouard GUERIN, Stephanie MANEL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## load BOLD specimen and sequence data with matching taxa "Pomacanthidae"
data(requestPomacanthidaeBOLD)
## load RLS species data
data(reefishSurveySpecies)
## filter and mutate
prparedResBold <- prepare_bold_res(resBold,
marker_code="COI-5P",
species_names=TRUE,
coordinates=TRUE,
ambiguities=TRUE,
min_length=420,
max_length=720
)
## validate species names
prparedResBold.fishbaseValid <- fishbase_name_species_bold(prparedResBold)
reefishBold <- select_reefish_species(prparedResBold.fishbaseValid,
reefishSurveySpecies,
countSequencesbySpeciesThreshold=2
)
## transform curated BOLD dataframe into sp spatialpoints object
spatialpoints_bold(reefishBold, projectionCRS="+init=epsg:3347")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.