## WITHOUT mask
# extract d2H data for Jackdaw, Partridge and Willow Grouse, transformed
# to the VSMOW/SLAP H reference scale by default
d1 = subOrigData(taxon = c("Danaus plexippus", "Setophaga ruticilla",
"Turdus migratorius"), niter = 100)
summary(d1)
# extract d2H data for insects and passerine birds without transformation
d2 = subOrigData(group = c("Insect","Passerine"), ref_scale = NULL, genplot = FALSE)
summary(d2)
# extract d18O data for all humans, transformed to the VSMOW/SLAP O reference scale
d3 = subOrigData(marker = "d18O",
group = c("Modern human", "Indigenous human"), ref_scale = "VSMOW_O",
niter = 100, genplot = FALSE)
summary(d3)
# extract d2H data for humans using taxon, transformed to the VSMOW/SLAP H reference scale
d4 = subOrigData(marker = "d2H", taxon = "Homo sapiens", ref_scale =
"VSMOW_H", niter = 100, genplot = FALSE)
summary(d4)
## WITH mask
# error - no samples found
if (FALSE) d5 = subOrigData(taxon = "Turdus philomelos", mask = naMap)
# this works OK
d6 = subOrigData(taxon = c("Danaus plexippus", "Setophaga ruticilla",
"Turdus migratorius"), mask = naMap, genplot = FALSE)
Run the code above in your browser using DataLab