Search bioRxiv⌕ Search

bioRxiv · 10.1101/110494

GCalignR: An R package for aligning Gas-Chromatography data

Abstract

Chemical cues are arguably the most fundamental means of animal communication and play an important role in mate choice and kin recognition. Consequently, gas chromatography (GC) in combination with either mass spectrometry (MS) or flame ionisation detection (FID) are commonly used to characterise complex chemical samples. Both GC-FID and GC-MS generate chromatograms comprising peaks that are separated according to their retention times and which represent different substances. Across chromatograms of different samples, homologous substances are expected to elute at similar retention times. However, random and often unavoidable experimental variation introduces noise, making the alignment of homologous peaks challenging, particularly with GC-FID data where mass spectral data are lacking. Here we present GCalignR, a user-friendly R package for aligning GC-FID data based on retention times. The package also implements dynamic visualisations to facilitate inspection and fine-tuning of the resulting alignments, and can be integrated within a broader workflow in R to facilitate downstream multivariate analyses. We demonstrate an example workflow using empirical data from Antarctic fur seals and explore the impact of user-defined parameter values by calculating alignment error rates for multiple datasets. The resulting alignments had low error rates for most of the explored parameter space and we could also show that GCalignR performed equally well or better than other available software. We hope that GCalignR will help to simplify the processing of chemical datasets and improve the standardization and reproducibility of chemical analyses in studies of animal chemical communication and related fields.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ottensmann, M., Stoffel, M. A., Hoffman, J. I.. 2017-02-22. GCalignR: An R package for aligning Gas-Chromatography data. https://doi.org/10.1101/110494

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Behavioral divergence across replicated predation regimes is species-specific in two sympatric poeciliid fishes

Predation is a potent driver of behavioral divergence across prey populations, yet whether shared predation regimes generate similar responses in coexisting prey species remains unclear. Species differences in reproductive and foraging traits may alter vulnerability to predators, generating species-specific responses. We compared behavior and cognition of two poeciliid fishes (Gambusia affinis and Poecilia latipinna) that differ in body size, the presence of male ornamentation, and mating tactics. We sampled both species across replicate high- and low-predation regimes and measured exploration, shyness, boldness, social motivation, and detour solve latency (N = 509). Multivariate behavior and cognition differed between predation regimes, and the magnitude of divergence varied with species but not body size. Consistent with the multivariate pattern, the more conspicuous P. latipinna exhibited higher boldness and overall lower exploration under high-predation, while high- and low-predation populations of G. affinis did not differ. These findings suggest either that the more conspicuous species experiences greater predation risk or that the less conspicuous species reduces its predation risk through alternative phenotypic responses. More broadly, species differences in reproductive phenotypes associated with sexual selection may help explain why shared predation regimes generate variable patterns of behavioral divergence across taxa.

animal behavior and cognition↗

Capturing the rhythm: methodological choices shape inference from circadian activity data

Abstract 1. Statistical tools and analytical decisions for analysing animal activity data are often limited and poorly justified, particularly with respect to model choice, sampling design and temporal aggregation. These shortcomings can constrain our ability to draw accurate and biologically meaningful inferences about behaviour. 2. We interrogated 24 h activity data taken from individual males and females derived from five Drosophila melanogaster populations to generate a general framework for collecting and analysing activity data that systematically compares common model classes, continuous verses fragmented sampling strategies, and alternative temporal aggregation choices (time-bin sizes). 3. Our analyses identified generalised additive mixed models (GAMMs) applied to high-frequency continuous data with small-moderate bin sizes (1-5 minutes) as providing the most robust and interpretable inference for our complex, high-frequency activity data. 4. However, our interrogation of the data set confirmed that analytical and sampling decisions need to be tailored to the study species, the timing of activities and the nature of the behaviour of interest. Accordingly, polynomial and cosinor generalised linear models, increased but biologically targeted snapshot sampling, and bin sizes smaller than one hour yielded adequate analyses with similar biological conclusions when appropriately matched to the system. 5. Our approach provides an accessible decision-making framework for activity analyses that allows researchers across behavioural, ecological and evolutionary studies to justify and optimise choices about data collection and modelling. Such an approach improves the biological relevance of inference and supporting the use of modern tracking and analytical technologies.

animal behavior and cognition↗

Greylag geese (Anser anser) initiate group flight based on the number and identities of callers

Social animals need to maintain cohesion when they move, and movement decisions are influenced by social organization and ecological or individual needs. To maintain synchrony during collective movement, the use of signals, including vocal signals, is often necessary. Greylag geese are gregarious and vocal before and during flight. We observed instances of naturally occurring flight initiation attempts in a free-living population of greylag geese -n = 133 birds- to investigate the decision-making process in this species, including the role vocalisations play in flight decisions. We recorded the number of participants in flight-initiation attempts, their vocal behaviour -using two call types specific to flight initiation signalling: Locomotion and Pre-flight calls-, the outcome of those attempts, in addition to the resulting flying group size and composition. We found that the identities and number of flock members joining in the calling chorus predicted both the probability of successful flight and the resulting flying group size. The number of Locomotion callers was associated with an increased probability of success, as well as larger flying group size, including both family and non-family fliers. The number of Pre-flight callers was also associated with a higher probability of successful flight, but its effect on the increase in flying group size was marginal. Successful departures were more probable when the family members of the initiator responded vocally. Overall, our findings are consistent with a system where the decision to fly is made individually using two distinct vocal signals to estimate the number of voters and at least the identities of social partners and progeny. In species where temporal and spatial group cohesion varies both seasonally and diurnally, individuals priorities appear to be maintaining proximity to mates and family members, followed by maximizing the size of flight groups.

animal behavior and cognition↗