###README#### -------------------- Gawryszewski FM, Birch D, Kemp D, Herberstein ME (2014) Data from: Dissecting the variation of a visual trait: the proximate basis of UV-Visible reflectance in crab spiders (Thomisidae). Dryad Digital Repository. http://doi.org/10.5061/dryad.367d0 Article published in Functional Ecology. Data deposited in the Dryad repository: http://doi.org/10.5061/dryad.367d0 contact: f.gawry@gmail.com -------------------- -------------------- ‘functions.R’ file contains all the ‘R’ functions used for description, organisation and analyses of spectrum files. -------------------- -------------------- ‘spectra’ folder contains all spectral datum files collected from spiders. Detailed description of how these measurements were taken and analysed can be found in the Functional Ecology article and its Electronic Supplementary Material. Dark reference folders contain raw readings from the dark reference used for the spectrometer calibration (‘*.Master.Dark’ files). White reference folders contain raw readings from the white reference used for the spectrometer calibration (‘*.Master.Transmission’ files). Reflectance folders contain processed readings, after calibration (‘*.Master.Reference’ and ‘*.txt’ files). Each spectrum file contains two columns: wavelength (nm) and Reflectance (%). We used reflectance data from 300 to 700 nm only. Only Thomisus spectabilis have dark and white reference files. Some files collected in Australia presented an artefact (ca. 5% drop in reflectance after 650 nm), which was corrected using a new black reference file (new dark reference file.txt; See ESM Methods for details). See Functional Ecology Article and its Electronic Supplementary Material for details on how cuticle reflectance and transmittance were calculated (cuticle transmittance = white std background reflectance - cuticle reflectance; cuticle reflectance = black std background). We assigned an ID for each spider. For each individual spider there are five measurements, numbered 1 to 5. ID of individuals from the ‘Histology of Thomisus spectabilis colour phenotypes’ section: Thomisus spectabilis white-UV: 234-2, 679, 691 ; Thomisus spectabilis white-non-UV: 657, 667, 710 ; Thomisus spectabilis yellow-non-UV: 700, 704, 716 ; ID of individuals from the ‘Spectrophotometry of the cuticle and guanine crystals from European and Australian species’ section: Thomisus spectabilis white-UV: 263-2, 263-31, 263-49, 644, 682, 694, 721; Thomisus spectabilis white-non-UV: 204-t10, 233-01, 263-1, 671, 718, 724, 1000, 1002, 1003, 1007, 1011, 1012 ; Thomisus spectabilis yellow-non-UV: 1009 ; Thomisus onustus UV: 2A, 3A, 6A, 11A ; Thomisus onustus non-UV: 5A, 7A, 8A, 9A, 10A; Misumena vatia: 1A, 4A, 12A, 13A ; -------------------- -------------------- R Example: source(functions.R) setwd(/spectra/reflectance live spiders - spectrophotometry section/Misumena vatia) test<-spec.dir(getwd()) test.m<-spec.mean(test) r<-paper(test.m, note = "TEST") mean(r$SATURATION) sd(r$SATURATION) mean(r$RELATIVE_BRIGHTNESS) sd(r$RELATIVE_BRIGHTNESS) mean(r$HUE) sd(r$HUE) --------------------