| Literature DB >> 35921355 |
Júlia de Paula Soares Valente1,2, Matheus Deniz2, Karolini Tenffen de Sousa2, Maria Eugênia Zerlotti Mercadante3, Laila Talarico Dias1,2.
Abstract
Cattle have a complex social organization, with negative (agonistic) and positive (affiliative) interactions that affect access to environmental resources. Thus, the social behaviour has a major impact on animal production, and it is an important factor to improve the farm animal welfare. The use of data from electronic bins to determine social competition has already been validated; however, the studies used non-free software or did not make the code available. With data from electronic bins is possible to identify when one animal takes the place of another animal, i.e. a replacement occurs, at the feeders or drinkers. However, there is no package for the R environment to detect competitive replacements from electronic bins data. Our general approach consisted in creating a user-friendly R package for social behaviour analysis. The workflow of the socialh package comprises several steps that can be used sequentially or separately, allowing data input from electronic systems, or obtained from the animals' observation. We provide an overview of all functions of the socialh package and demonstrate how this package can be applied using data from electronic feed bins of beef cattle. The socialh package provides support for researchers to determine the social hierarchy of gregarious animals through the synthesis of agonistic interactions (or replacement) in a friendly, versatile, and open-access system, thus contributing to scientific research.Entities:
Mesh:
Year: 2022 PMID: 35921355 PMCID: PMC9348686 DOI: 10.1371/journal.pone.0271337
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.752
Fig 1R package flow chart for competition behaviour analysis.
*Format of datasheet: date—dd/mm/yyyy; time—hour:minutes:seconds.
Descriptions of functions of the socialh R package.
| Function | Description |
|---|---|
| replacement | Identifies replacements between the actor and reactor from electronic bin data. |
| repByBin | Identifies the frequency of replacements by bin. |
| freqActor | Identifies the frequency that an animal was actor. |
| freqReactor | Identifies the frequency that an animal was reactor. |
| smatrix | Builds a square matrix containing the frequency of competition between each dyad (each pair of animals). |
| dmatrix | Determines the Sij dyadic dominance relationship from a sociomatrix. |
| dvalue | Determines the dominance value, social rank and hierarchy from the Sij dyadic relationship matrix. |
| landau_index | Calculates the linearity index developed by Landau (1951). |
| improved_index | Calculates the linearity index improved by de Vries (1995). |
| barDom | Generates a barplot from the variables obtained in the dvalue function (dominance value, social hierarchy and social rank). |
| bpDom | Generates a boxplot from the variables obtained in the dvalue function (dominance value, social hierarchy and social rank), and variable obtained in the frequency functions (freqActor, and freqReactor). |
| actorSociogram | Generates a sociogram with actor information. |
| reactorSociogram | Generates a sociogram with reactor information. |
Fig 2A sample of the input database with data from the electronic feeding system of Nellore cattle used in the replacement() function.
Fig 3Example of the output data frame of the (a) smatrix() function and (b) dmatrix() function.
Fig 4Example of barplot (above) and boxplot (below) using barDom and bpDom functions, respectively.
Fig 5Example of sociograms using actorSociogram (above) and reactorSociogram (below) functions, respectively.
Correlations among dominance index for a Nellore cattle group obtained from different methods (Elo Rating, I&SI, and David Score) available on R packages.
| Kondo and Hurnik Index | David score | Elo rating | I&SI | |
|---|---|---|---|---|
| Kondo and Hurnik Index | 1 | 0.871 | 0.291 | -0.641 |
| David score | 1 | 0.418 | -0.553 | |
| Elo rating | 1 | -0.132 | ||
| I&SI | 1 |
*P < 0,10
***P < 0,01