Avoidance or coexistence? Exploring spatio-temporal niche overlap between two sympatric ungulates barking deer and Himalayan goral in a multi-use landscape of Uttarkashi district, Western Himalaya
Data files
Sep 11, 2026 version files 146.69 KB
-
Activity_overlapcode.R
1.04 KB
-
Barking_deer_summer_final.csv
5.93 KB
-
BD_winter.csv
17.94 KB
-
Camera_trap_deployment.xlsx
13.18 KB
-
Goral_summer_final.csv
4.62 KB
-
Goral_winter_final.csv
12.20 KB
-
Niche_overlap_humboldt.R
2.53 KB
-
README.md
37.76 KB
-
Sign__survey_final.xlsx
11.30 KB
-
Summer_season.csv
5.34 KB
-
watson_two_sample_test.R
544 B
-
Winter_season.csv
14.50 KB
-
Year_data.csv
19.82 KB
Abstract
Ungulates play a vital role in maintaining the integrity of the high mountain ecosystem by sustaining plant community structure and regulating predator populations. Therefore, it is necessary to understand the interaction of sympatric species in the mountainous landscape. In this study we aim to investigate the seasonal spatial and temporal overlap between two sympatric species namely barking deer (Muntiacus vaginalis) and Himalayan goral (Naemorhedus goral) in Uttarkashi, district of Uttarakhand. We employed niche equivalency and niche similarity test, to quantify the niche overlap of these sympatric species. Total of 99 trails were traversed and 134 camera traps were deployed to collect data on the sympatric ungulate species. The finding of non-significant niche similarity test statistics and significant background test statistics indicated that both sympatric ungulates have broad niche similarity relative to the same available environmental space throughout year. Overall niche overlap index showed moderate to high (0.58), however in summer showed moderate (0.54) and in winter showed low overlap (0.34). We also investigate the temporal activity pattern of both species, where barking deer showed diurnal and crepuscular activity pattern with highest peak activity during mid-day hours while Himalayan goral was active throughout the day with peak activity during morning and evening hours. The daily activity index Dhat value showed highest temporal overlap was found in winter season (0.78) and lowest in summer season (0.70). This study provided useful information to understand the coexistence pattern of sympatric ungulates in Himalaya, which will be helpful for their long-term conservation and management. Understanding these interactions provides insights into the mechanisms driving community structure and species persistence in increasingly complex ecosystems.
Dataset DOI: 10.5061/dryad.2rbnzs853
1. Dataset overview
This data package contains field-survey data, camera-trap deployment information, camera-trap activity records, environmental covariate datasets, and R scripts used to investigate spatial and temporal niche relationships between Himalayan Goral (Naemorhedus goral) and Barking Deer (Muntiacus muntjak) in Uttarkashi District, Western Himalaya, India.
The package supports three main components of the study:
- description of species occurrence and camera-trap sampling locations;
- analysis of diel activity patterns and temporal niche overlap; and
- analysis of environmental/ecological niche relationships between Himalayan Goral and Barking Deer.
The public dataset contains 12 files:
Field and camera-trap data
- Sign__survey_final.xlsx
- Camera_trap_deployment.xlsx
Temporal activity data
- Year_data.csv
- Winter_season.csv
- Summer_season.csv
Environmental/niche data
- Goral_winter_final.csv
- Goral_summer_final.csv
- Barking_deer_summer_final.csv
- BD_winter.csv
R analysis scripts
- Activity_overlapcode.R
- watson_two_sample_test.R
- Niche_overlap_humboldt.R
The R scripts were originally uploaded as .txt files and were subsequently renamed with the .R extension so that their file type correctly reflects their contents.
2. Note on filenames used inside the R scripts
During the original analyses, several working filenames were used that differ from the final filenames used in the archived Dryad package. These names refer to analytical working copies rather than additional datasets.
Users attempting to reproduce the analysis should therefore use the archived filename equivalents given below.
Filename appearing in original code
Archived/public dataset filename
Description
-
Year.csv / Year_data.csv
Combined summer and winter activity dataset
-
GOS_ENV.csv / Goral_summer_final.csv
Himalayan Goral summer environmental dataset
-
Goral_winter.csv or equivalent winter Goral working file / Goral_winter_final.csv
Himalayan Goral winter environmental dataset
-
Barking Deer summer working file, where used / Barking_deer_summer_final.csv
Barking Deer summer environmental dataset
-
Summer.csv or equivalent / Summer_season.csv
Summer activity dataset
-
Winter.csv or equivalent / Winter_season.csv
Winter activity dataset
-
Barking deer records / BD_winter.csv
Barking Deer winter environmental dataset
3. Directory structure and preparation before running the code
The simplest way to reproduce the analyses is to download all files from Dryad and place them in a single local directory.
For example:
Goral_BarkingDeer_Dryad/
|-- README.md
|-- Camera_trap_deployment.xlsx
|-- Sign_survey_final.xlsx
|-- Year_data.csv
|-- Winter_season.csv
|-- Summer_season.csv
|-- Goral_winter_final.csv
|-- Goral_summer_final.csv
|-- Barking_deer_summer_final.csv
|-- Activity_overlapcode.R
|-- watson_two_sample_test.R
|-- Niche_overlap_humboldt.R
The R working directory should be set to the folder containing these files before running the scripts.
For example:
setwd("path/to/Goral_BarkingDeer_Dryad")
Alternatively, users may open an RStudio Project located in the downloaded dataset directory and use relative file paths.
Because some archived filenames contain spaces, filenames must be entered exactly as archived unless users rename the files and modify the corresponding read.csv() statements in the scripts.
For example:
goral.summer <- read.csv("Goral_summer_final.csv")
Users should not alter species names, coordinate fields, environmental-variable names, or time variables unless the corresponding script is also modified.
4. Analytical workflow
The relationship among the data files and scripts is summarized below.
FIELD DATA
|
|-- Sign_survey_final.xlsx
| |
| --> species occurrence/location information
|
|-- Camera_trap_deployment.xlsx
|--> camera-station locations and altitude
CAMERA-TRAP DETECTIONS
|
|-- Winter_season.csv
|-- Summer_season.csv
| |
| --> Year_data.csv
| (combined annual/pooled activity dataset)
|
| --> Activity_overlapcode.R
| |
| --> activity density estimates
| --> diel activity plots
| --> temporal overlap estimates
|
| --> watson_two_sample_test.R
| |
| --> circular comparison of species activity distributions
ENVIRONMENTAL / NICHE DATA
|
|-- Goral_winter final.csv
|-- Goral_summer final.csv
|-- Barking_deer_summer_final.csv
| |
| --> Niche_overlap_humboldt.R
| |
| --> environmental niche characterization
| --> niche overlap / equivalency / background analyses,
| as implemented in the archived script
Year_data.csv is already the combined dataset generated from summer and winter activity records. Users should therefore not append Summer_season.csv and Winter_season.csv to Year_data.csv again, as this would duplicate observations.
5. Recommended order for reproducing the analyses
The scripts are independent analytical scripts rather than a single automated pipeline. They can be run separately according to the analysis required.
For complete reproduction, the recommended order is:
Step 1 – Download and organize files
Download all files and place them in the same working directory.
Step 2 – Inspect temporal datasets
The following datasets contain camera-trap activity records:
Winter_season.csv
Summer_season.csv
Year_data.csv
Year_data.csv represents the combined annual dataset.
Step 3 – Run temporal activity overlap analysis
Run:
Activity_overlapcode.R
The script reads species-specific detection times, converts time information to the format required for circular/activity analysis, estimates activity distributions, and quantifies temporal overlap between Himalayan Goral and Barking Deer.
The analysis can be performed separately for:
- winter;
- summer; and
- pooled/annual data.
The appropriate input should therefore be selected from:
Winter_season.csv
Summer_season.csv
Year_data.csv
Step 4 – Run statistical comparison of activity distributions
Run:
watson_two_sample_test.R
This script statistically evaluates differences between the circular distributions of activity times of Himalayan Goral and Barking Deer using the Watson two-sample test.
It uses the same underlying activity data as the temporal-overlap analysis.
Step 5 – Run environmental niche analysis
Run:
Niche_overlap_humboldt.R
The principal environmental input files supplied with the archived dataset are:
Goral_winter final.csv
Goral_summer final.csv
Barking_deer_summer_final.csv
These files contain species records together with values extracted from environmental variables.
The script performs the environmental/ecological niche analyses implemented in the associated study.
Users should note the filename crosswalk described in Section 2 because some input names appearing in the original working code differ from the names in the archived dataset.
6. Description of individual data files
6.1 Sign_survey_final.xlsx
This file contains field sign-survey records for Himalayan Goral and Barking Deer.
Each row represents a species sign or field observation recorded during field surveys.
Variables
Sr.no
Sequential record number assigned to each observation.
Lat
Latitude associated with the field observation in decimal degrees.
long
Longitude associated with the field observation in decimal degrees.
species
Species associated with the observation.
Species represented are:
- Himalayan Goral – Naemorhedus goral
- Barking Deer – Muntiacus muntjak
Coordinates are referenced to WGS84.
For Himalayan Goral, publicly released coordinates should be interpreted according to the sensitive-species generalization procedure described in Section 10.
6.2 Camera_trap_deployment.xlsx
This file contains information for camera-trap stations established during the study.
Variables
Sr. no
Sequential identifier assigned to each camera-trap station.
Lat.
Latitude of the camera-trap deployment location in decimal degrees.
Long.
Longitude of the camera-trap deployment location in decimal degrees.
Altitude(m)
Elevation of the camera-trap station above mean sea level, expressed in metres.
Coordinates use the WGS84 geographic coordinate system.
7. Temporal activity datasets
7.1 Year_data.csv
This file contains camera-trap activity records used for temporal activity analyses.
It combines records from:
- Winter_season.csv: 472 records
- Summer_season.csv: 172 records
The combined dataset contains:
- 486 Barking Deer activity records
- 158 Himalayan Goral activity records
Each row represents a species camera-trap activity/detection record.
Variables
Species
Species associated with the camera-trap detection.
Records correspond to:
- Himalayan Goral
- Barking Deer
Time
Time associated with the camera-trap detection.
This variable was used to characterize diel activity patterns, construct circular activity distributions, and quantify temporal overlap between the two species.
Season
Season during which the detection was obtained.
Categories are:
- Winter
- Summer
Year_data.csv was used for pooled or annual activity analyses.
7.2 Winter_season.csv
This file contains activity records obtained during the winter sampling period.
Each row represents a species-specific camera-trap activity record used to characterize winter diel activity patterns and evaluate temporal overlap between Himalayan Goral and Barking Deer.
Principal variables
Species
Species associated with each activity record.
Time
Time associated with each camera-trap detection.
The time information was transformed within the R workflow into the circular/time representation required for activity-density and temporal-overlap analysis.
Where other fields occur, their interpretation follows the corresponding definitions for Year_data.csv.
7.3 Summer_season.csv
This file contains activity records obtained during the summer sampling period.
Each row represents a species-specific camera-trap activity record used to characterize summer diel activity patterns and temporal niche overlap.
Principal variables
Species
Species associated with the camera-trap detection.
Time
Time associated with the camera-trap detection.
Time information was used in temporal activity-density and circular-distribution analyses.
Where other fields occur, their interpretation follows the corresponding definitions for Year_data.csv.
8. Environmental datasets
The environmental datasets contain species observations together with environmental covariate values extracted at or associated with the analysed locations.
The principal environmental variables belong to climatic, terrain, land-cover, hydrological, and anthropogenic categories.
8.1 Bioclimatic variables
Bioclimatic variables were obtained from WorldClim v2.1.
Bio1 – Annual Mean Temperature
Annual mean temperature.
Unit: °C, subject to the scaling convention of the downloaded WorldClim layer used during processing.
Bio12 – Annual Precipitation
Annual precipitation.
Unit: millimetres.
Bio14 – Precipitation of Driest Month
Precipitation during the driest month.
Unit: millimetres.
8.2 Terrain variables
Aspect
Terrain orientation derived from elevation information.
Typical range: 0–360 degrees.
Rugged
Terrain-ruggedness variable representing local variation in terrain configuration.
The variable was derived from elevation/terrain information and used as a relative measure of landscape ruggedness.
8.3 Land-cover variables
Grassland
Variable representing grassland habitat or grassland cover associated with the analysed location.
ENLF
Evergreen Needle Leaf Forest variable representing evergreen needle-leaved forest cover.
Mixed
Variable representing mixed forest or mixed vegetation.
SGWST
Small Grass With Scattered Trees; land-cover variable representing grass-dominated habitat containing scattered trees.
8.4 Anthropogenic variables
Human
Human Influence Index used to characterize anthropogenic influence on the landscape.
Source: Socioeconomic Data and Applications Center (SEDAC), Human Influence Index.
Spatial resolution: approximately 1 km.
The index ranges from:
0 = lowest/no recorded direct human influence
64 = highest direct anthropogenic influence
Source information:
https://sedac.ciesin.columbia.edu/
Road
Distance to the nearest road or road-related spatial feature used in the analysis.
The variable represents Euclidean distance to roads, expressed in metres where calculated from projected spatial layers.
Higher values therefore generally indicate locations farther from roads.
8.5 Hydrological variable
water
Distance to the nearest mapped water body or water-related spatial feature.
The variable represents Euclidean distance to water, expressed in metres where calculated from projected spatial layers.
Higher values therefore generally represent greater distance from water.
9. Individual environmental files
9.1 Goral_winter final.csv
This file contains Himalayan Goral records together with environmental covariates used for winter-season ecological/environmental niche analysis.
Each row represents a Himalayan Goral record and the environmental values associated with the corresponding analysed location.
Variables include geographic coordinates and the following environmental predictors:
- Grassland
- ENLF
- Aspect
- Human
- Mixed
- Rugged
- SGWST
- Bio12
- Bio14
- water
- Bio1
- Road
Coordinate fields
Latitude / coordinate field
Latitude in decimal degrees.
Longitude / coordinate field
Longitude in decimal degrees.
Publicly released Himalayan Goral coordinates have been spatially generalized for conservation purposes, as described in Section 10.
Environmental variables
Grassland
Grassland habitat variable associated with the analysed location.
ENLF
Evergreen Needle Leaf Forest variable.
Aspect
Terrain aspect representing slope orientation.
Human
Human Influence Index describing anthropogenic influence.
Mixed
Mixed-forest or mixed-vegetation habitat variable.
Rugged
Terrain-ruggedness variable.
SGWST
Small Grass With Scattered Trees habitat variable.
Bio12
Annual precipitation, in millimetres.
Bio14
Precipitation of the driest month, in millimetres.
water
Distance to water or water-related spatial feature.
Bio1
Annual mean temperature.
Road
Distance to road or road-related spatial feature.
9.2 Goral_summer final.csv
This file contains Himalayan Goral records and associated environmental covariates used for summer-season environmental/ecological niche analysis.
Each row represents a Himalayan Goral record together with associated geographic and environmental information.
The environmental variables have the same definitions as those described for Goral_winter final.csv.
The publicly released Himalayan Goral geographic coordinates have been generalized to reduce the risk of disclosure of conservation-sensitive occurrence locations.
9.3 Barking_deer_summer_final.csv
This file contains Barking Deer records and associated environmental covariates used for summer-season environmental/ecological niche analysis.
Each row represents a Barking Deer record together with environmental values associated with the corresponding analysed location.
The environmental variables describe habitat, terrain, climatic, hydrological, and anthropogenic conditions.
Variables shared with the Himalayan Goral environmental datasets have the same meanings and units described above.
9.4 BD_winter.csv
This file contains winter-season Barking Deer records together with associated environmental covariates used in the environmental niche analysis. The variables include geographic coordinates and environmental predictors such as Grassland, ENLF, Aspect, Human, Mixed, Rugged, SGWST, Bio12, Bio14, water, Bio1, Road, and Slope. Variables shared with the other environmental datasets follow the same definitions described previously.
10. Geographic coordinate system
Unless otherwise specified, geographic coordinates are expressed as latitude and longitude in decimal degrees using:
World Geodetic System 1984
WGS84
EPSG:4326
Distance-based environmental variables were calculated from spatial data in an appropriate projected coordinate framework during GIS processing before being associated with species locations.
11. Generalization of sensitive Himalayan Goral locations
Himalayan Goral (Naemorhedus goral) is treated as a conservation-sensitive species in this public data release.
To reduce the risk associated with releasing precise occurrence locations, geographic coordinates associated with Himalayan Goral observations were spatially generalized before public release.
Latitude and longitude values for Himalayan Goral observations were rounded to 0.1 decimal degrees.
Consequently, coordinates contained in the public dataset represent generalized locations and should not be interpreted as the precise sites at which Himalayan Goral individuals, signs, or camera-trap detections occurred.
The original higher-precision coordinates are retained separately by the data custodians and are not included in the publicly accessible data package.
Associated fields were also reviewed to reduce the possibility of reconstructing sensitive localities from ancillary information.
For biodiversity-data standards that support a dataGeneralizations field, the appropriate statement is:
Geographic coordinates associated with Himalayan Goral (Naemorhedus goral) occurrences were rounded to 0.1 decimal degrees before public release to reduce disclosure of conservation-sensitive occurrence locations. Public coordinates therefore represent generalized rather than exact observation locations.
Users must not attempt to reverse-engineer or reconstruct the original precise occurrence locations.
12. Description of R scripts
12.1 Activity_overlapcode.R
Purpose
This script was used to characterize diel activity patterns and quantify temporal activity overlap between Himalayan Goral and Barking Deer.
Inputs
Depending on whether annual or season-specific activity is being analysed, the script uses:
Year_data.csv
Winter_season.csv
Summer_season.csv
A legacy reference to:
Year.csv
should be interpreted as:
Year_data.csv
Main workflow
The script:
- imports camera-trap activity/detection times;
- separates detections by species;
- converts clock time into the circular/radian format required by the analytical functions;
- estimates species-specific diel activity-density distributions;
- calculates the coefficient of temporal overlap between Himalayan Goral and Barking Deer; and
- produces graphical representations of species activity distributions and their overlap.
The script can be used separately with winter, summer, or combined annual activity data.
Outputs
The script returns analytical estimates and graphical outputs within the R session, including species activity-density curves and temporal-overlap estimates.
Where the script contains graphical device or file-writing commands, outputs are written to the current R working directory.
12.2 watson_two_sample_test.R
Purpose
This script was used to statistically compare the temporal activity distributions of Himalayan Goral and Barking Deer.
Inputs
The input consists of species-specific activity times derived from:
Year_data.csv
Winter_season.csv
Summer_season.csv
depending on whether annual, winter, or summer activity distributions are being tested.
Analysis
Activity time is circular data because 00:00 and 24:00 represent the same point in the daily cycle.
The Watson two-sample test was therefore used to assess whether the circular distributions of activity times differed significantly between Himalayan Goral and Barking Deer.
Outputs
The script produces the Watson two-sample test statistic and associated significance information in the R console/session.
12.3 Niche_overlap_humboldt.R
Purpose
This script was used to investigate environmental/ecological niche relationships between Himalayan Goral and Barking Deer.
Archived environmental inputs
The environmental datasets provided with the public package are:
Goral_winter final.csv
Goral_summer final.csv
Barking_deer_summer_final.csv
Some filenames appearing in the original working script differ from the final archived names.
In particular:
GOS_ENV.csv
corresponds to:
Goral_summer final.csv
Users should follow the filename crosswalk in Section 2 when reproducing the analysis.
Analysis
The script uses environmental information associated with species records to characterize and compare environmental niches of Himalayan Goral and Barking Deer.
The workflow includes the niche-comparison procedures implemented in the archived script, including niche overlap and associated niche comparison tests where specified in the code.
Important limitation
The original working code also contains a reference to:
BD_winter.csv
A separate Barking Deer winter environmental dataset with that filename is not part of the current public package.
Users should follow the guidance provided in Section 2 before attempting to execute any portion of the script requiring that object.
13. Software environment
All statistical analyses were conducted in R version 3.5.1. The analyses were performed during 2024.
The original sessionInfo() output from the analytical computer was not retained. Therefore, while the R version is known exactly, the complete historical package-session metadata cannot be reconstructed verbatim. To facilitate reproducibility, the package versions below represent a reconstructed software environment compatible with R 3.5.1 and with the analytical workflow used in this study.
Software/package
Version used/recommended for reconstruction
Purpose in the analysis
R
3.5.1
Statistical computing environment
humboldt
1.0.0.0420121
Environmental niche overlap, niche equivalency and background similarity analyses
sp
2.1-4
Spatial data classes and spatial-data handling
raster
3.6-26
Raster environmental data handling and extraction
ggplot2
3.5.1
Data visualization and graphical outputs
circular
0.5-0
Representation and analysis of circular/time-of-day data
CircStats
0.2-6
Circular statistical tests, including comparison of activity distributions
suntools
1.0.0
Solar-time related functions required by temporal activity analyses
readxl
1.3.1
Import of Microsoft Excel field and camera-trap datasets
overlap
0.3.9
Estimation and plotting of coefficients of temporal activity overlap
The capitalization of R package names should be retained as follows when loading packages:
library(humboldt)
library(sp)
library(raster)
library(ggplot2)
library(circular)
library(CircStats)
library(suntools)
library(readxl)
library(overlap)
The software environment can therefore be described as:
R version 3.5.1
Principal R packages:
humboldt 1.0.0.0420121
sp 2.1-4
raster 3.6-26
ggplot2 3.5.1
circular 0.5-0
CircStats 0.2-6
suntools 1.0.0
readxl 1.3.1
overlap 0.3.9
Because the original package-level sessionInfo() record was not retained, these package versions should be regarded as the reconstructed computational environment used to facilitate reuse of the archived scripts rather than as a verbatim copy of the original R session.
Users attempting to reproduce the analyses on current versions of R should be aware that some spatial packages and dependencies used by the original humboldt workflow have subsequently been updated, superseded, or archived. Consequently, use of the historical R 3.5.1-compatible environment may provide greater consistency with the original analytical workflow.
14. Relationship of packages to analytical scripts
14.1 Activity_overlapcode.R
This script performs the temporal activity-overlap analysis using camera-trap detection times.
The principal packages used for this component are:
library(overlap)
library(circular)
library(CircStats)
library(suntools)
library(ggplot2)
The overlap package is used to estimate coefficients of overlap between the diel activity distributions of Himalayan Goral and Barking Deer. Detection times are converted to an appropriate circular representation prior to estimation and plotting of activity-density functions.
Depending on the analysis being reproduced, the input data are:
Year_data.csv
Winter_season.csv
Summer_season.csv
Year_data.csv contains the combined annual dataset and should not be combined again with the summer and winter files.
14.2 watson_two_sample_test.R
This script statistically compares the temporal activity distributions of Himalayan Goral and Barking Deer using circular statistics.
The principal packages used are:
library(circular)
library(CircStats)
The analysis uses species-specific detection times derived from:
Year_data.csv
Winter_season.csv
Summer_season.csv
depending on whether pooled, winter, or summer activity patterns are being compared.
14.3 Niche_overlap_humboldt.R
This script performs the environmental niche-overlap analyses.
The principal packages used are:
library(humboldt)
library(sp)
library(raster)
library(ggplot2)
The environmental input datasets included in the archive are:
Goral_winter final.csv
Goral_summer final.csv
Barking_deer_summer_final.csv
BD_winter.csv
These datasets contain the species records and associated environmental covariates required for the environmental niche analyses.
The humboldt package is used for environmental-space niche analyses, including the niche-overlap and associated niche-comparison procedures implemented in the archived script.
15. Reproducing the software environment
Before running the analyses, users should place the relevant data files and R scripts within a common working directory and set that directory in R.
For example:
setwd("path/to/downloaded/Dryad/dataset")
The required libraries should then be loaded before executing the corresponding analytical script.
For example:
library(humboldt)
library(sp)
library(raster)
library(ggplot2)
library(circular)
library(CircStats)
library(suntools)
library(readxl)
library(overlap)
The scripts may subsequently be executed using:
source("Activity_overlapcode.R")
source("watson_two_sample_test.R")
source("Niche_overlap_humboldt.R")
Users installing packages under a modern R version may obtain versions that differ substantially from those used in the original analytical environment. For maximum reproducibility, archived versions corresponding to the software environment described above should be used where possible.
16. Package dependencies
The precise package list should be read from the library() and/or require() statements in each archived script.
The analysis requires packages providing functionality for the following operations:
Temporal overlap analysis
Functions for:
- kernel density estimation of activity times;
- temporal activity overlap;
- plotting activity distributions.
Circular statistical analysis
Functions for:
- conversion and handling of circular data;
- Watson two-sample testing.
Environmental niche analysis
Functions for:
- multivariate environmental niche characterization;
- niche overlap calculations;
- niche equivalency and/or background comparisons implemented in the script;
- manipulation of environmental data; and
- generation of associated plots.
To recreate the final software environment on another machine, users should install the packages identified in the scripts and verify versions using sessionInfo().
17. Relationship between raw, processed, and analytical files
The files in this package represent different levels of the analytical workflow.
Field/location information
Sign_survey_final.xlsx
Camera_trap_deployment.xlsx
contain field observations and sampling-site information.
Temporal analytical data
Winter_season.csv
Summer_season.csv
contain season-specific activity records.
Year_data.csv
is a combined dataset containing both seasons and should therefore be regarded as a derived/combined analytical input rather than an independent third sampling dataset.
Environmental analytical data
Goral_winter final.csv
Goral_summer final.csv
Barking_deer_summer_final.csv
contain environmental covariates associated with species locations and were prepared as inputs for environmental niche comparison.
These are analytical tables rather than original raster environmental layers.
R scripts
Activity_overlapcode.R
watson_two_sample_test.R
Niche_overlap_humboldt.R
implement the principal temporal and environmental niche analyses.
16. Reproducing the analyses
A user wishing to reproduce the analyses should:
- download the complete Dryad package;
- place all files in one directory;
- start R or RStudio;
- set the R working directory to the downloaded folder;
- install packages called using library() or require() in the relevant script;
- check the filename crosswalk in Section 2;
- ensure Year.csv, if present in the code, is replaced by Year_data.csv;
- ensure GOS_ENV.csv, if present in the code, is replaced by Goral_summer final.csv;
- select Winter_season.csv, Summer_season.csv, or Year_data.csv according to the temporal analysis being reproduced;
- run Activity_overlapcode.R for temporal-overlap analysis;
- run watson_two_sample_test.R for statistical comparison of circular activity distributions;
- run Niche_overlap_humboldt.R for environmental niche analyses; and
- note the limitation associated with any remaining reference to BD_winter.csv.
Scripts can be executed in R using:
source("Activity_overlapcode.R")
source("watson_two_sample_test.R")
source("Niche_overlap_humboldt.R")
provided their input filenames have first been reconciled with the archived filenames described above.
18. File naming and reproducibility
The file names listed in this README correspond to the public Dryad package.
Because the original analysis was developed using working filenames, some file-import commands inside the scripts may use historical names.
These differences represent filename changes rather than separate data sources except for the explicitly noted BD_winter.csv reference.
Users may reproduce the analyses by either:
- editing the read.csv() statement in the script to use the archived filename; or
- making a local copy of the corresponding archived file using the historical filename.
Editing the script is recommended because it maintains a clear relationship with the archived data.
19. Interpretation of spatial information
Geographic coordinates in the public data package should be interpreted with consideration of the sensitive-species protection described above.
In particular, generalized Himalayan Goral coordinates are intended to permit broad spatial interpretation and data transparency while preventing disclosure of precise observation sites.
Generalized coordinates should not be used to infer:
- precise individual locations;
- precise locations of field signs;
- exact camera-trap detections;
- exact habitat-use sites; or
- fine-scale movement pathways.
Analyses requiring precise site-level Himalayan Goral coordinates cannot be reproduced directly from the generalized public coordinates.
20. Data-use considerations
Users of these data should:
- acknowledge that sensitive Himalayan Goral coordinates have been spatially generalized;
- avoid attempting to reconstruct precise sensitive-species locations;
- retain the original definitions of species and environmental variables when reusing the data;
- recognize Year_data.csv as the combined summer–winter activity dataset;
- consult the filename crosswalk when running archived scripts;
- cite the associated publication and Dryad dataset when using these data; and
- consult the accompanying R scripts when reproducing analyses.
21. Data sources
Environmental variables were obtained or derived from the following general data sources:
WorldClim v2.1
Bioclimatic variables including Bio1, Bio12, and Bio14.
SEDAC Human Influence Index
Human Influence Index used as an anthropogenic-pressure variable.
https://sedac.ciesin.columbia.edu/
Digital Elevation Model
Used to derive terrain characteristics including aspect and ruggedness.
Land-cover spatial data
Used to derive Grassland, Evergreen Needle Leaf Forest, Mixed Forest, and Small Grass With Scattered Trees variables.
Road and hydrological spatial layers
Used to derive Euclidean-distance variables representing proximity to roads and water.
The archived CSV files contain values extracted from or derived from these spatial layers. The original raster layers themselves are not part of this Dryad package.
22. Units and interpretation summary
Variable
Interpretation
Unit / scale
Lat / Latitude
Geographic latitude
Decimal degrees, WGS84
Long / Longitude
Geographic longitude
Decimal degrees, WGS84
Altitude(m)
Elevation above mean sea level
metres
Time
Camera-trap detection time
clock time; transformed to circular time in R
Season
Sampling season
Winter / Summer
Bio1
Annual mean temperature
°C or WorldClim native scaled value
Bio12
Annual precipitation
mm
Bio14
Precipitation of driest month
mm
Aspect
Terrain orientation
degrees, 0–360
Rugged
Terrain ruggedness
relative/unitless terrain metric
Human
Human Influence Index
0–64
Grassland
Grassland habitat/cover variable
value from processed environmental layer
ENLF
Evergreen Needle Leaf Forest
value from processed environmental layer
Mixed
Mixed forest/vegetation
value from processed environmental layer
SGWST
Small Grass With Scattered Trees
value from processed environmental layer
water
Euclidean distance to water
metres where calculated in projected coordinates
Road
Euclidean distance to road
metres where calculated in projected coordinates
23. Known limitations affecting reuse
Users should be aware of the following limitations.
- Himalayan Goral coordinates in the public release have been generalized to 0.1 decimal degrees and therefore cannot reproduce analyses requiring the original precise occurrence coordinates.
- Some R scripts retain historical input filenames that differ from the archived filenames. The filename crosswalk in Section 2 should be followed.
- Year_data.csv is already the combined version of Summer_season.csv and Winter_season.csv; combining the three files would duplicate data.
- A legacy input named BD_winter.csv is referenced in the original working code but is not included as a separate file in the present public package. Any part of a script requiring this file cannot be reproduced unless the corresponding dataset is provided or the analytical code is revised appropriately.
- The environmental CSV files contain covariate values used in the analyses; the original environmental raster layers are not included in the archived package.
- Exact R and package-version information should be taken from the computational environment used for the final analysis using sessionInfo(). Versions should not be inferred where the historical environment was not preserved.
24. Contact and data responsibility
Questions regarding interpretation of the data, sensitive-species coordinate generalization, or analytical workflow should be directed to the authors/data custodians identified in the Dryad dataset record.
The precise Himalayan Goral coordinates are intentionally excluded from the publicly accessible dataset for conservation reasons.
25. Reproducibility statement
The public archive contains the field-data tables, activity datasets, environmental analytical tables, and R scripts used for the principal spatio-temporal niche analyses described in the study.
The README documents:
- the role of each archived file;
- relationships among files;
- the recommended order of analysis;
- input files required by individual scripts;
- historical versus archived filenames;
- working-directory requirements;
- interpretation and units of dataset variables;
- sensitive-species data generalization;
- software and package requirements; and
- known limitations to complete reproduction.
Users should use the archived filenames shown in this README when reproducing the analyses and should consult the comments within individual R scripts for analysis-specific options and parameters.
Materials and Methods
Study area
The study was conducted from 2018 to 2020 in Uttarkashi district, Uttarakhand, India, located between 30°28′-31°28′N and 77°49′-79°25′E, covering an area of approximately 8,016 km². This district has shared boundaries with international border, where from the north lies adjoining areas of Himachal state and Tibet territory while from the east lies Chamoli district. In Himalayan perspective this area falls under 2B biogeographic zone of western Himalaya, surrounding from northern part of crystalline zone of greater Himalaya and southern part of lesser Himalaya. The climate of district varies from subtropical to temperate with altitudinal variation. The geography of the landscape is complex with hilly narrow valleys and mountainous ranges ranging from 715 - 6717 m (Fig. 1). The area is also are known for its ecological relevance and diversity. The major vegetation types within the study area include Himalayan moist temperate forests, sub-alpine forests, and alpine scrub (Champion and Seth 1968). The forests of the Uttarkashi district are administered under three Forest Divisions: (i) Uttarkashi Forest Division, (ii) Tons Forest Division, and (iii) Upper Yamuna Badkot Forest Division and encompass two Protected Areas (PAs), namely Govind Pashu Vihar National Park and Gangotri National Park. Primary land use categories in the region include permanent settlements (villages), irrigated and rain fed agricultural fields, scrubland, mixed broadleaf forests, subalpine oak-fir forests, summer camping sites, and alpine meadows locally known as ‘Kharaks’ and ‘bugyals’ (Awasthi** et al.** 2003). The study landscape boasts diverse faunal and floral diversity, housing globally endangered and elusive species. The forested habitats in this landscape are vital for the conservation of high-priority species es such as the Musk deer (Moschus spp.), Common leopard (Panthera pardus), Asiatic Black bear (Ursus thibetanus), Himalayan brown bear (Ursus arctos isabellinus), Himalayan monal (Lophophorus impejanus), and Western Tragopan (Tragopan melanocephalus).
Study design and data collection
Prior to the study a reconnaissance survey was carried out to identify the major habitats in the landscape along with the sites for Himalayan goral and barking deer. Field surveys were conducted by stratifying the entire landscape of the Uttarkashi region based on their habitats and forest division. To facilitate a systematic survey, the study area was divided into 10×10 km grids during the reconnaissance survey. Subsequently, logistically assessable grids of 10×10 km were chosen for the systematic survey and were further subdivided into 4×4 km grids for intensive sampling. Various survey methods, including sign survey, camera trapping, non-invasive sampling were employed to collect data on these two sympatric species.
Sign survey and Camera trapping
Sign surveys are considered as indispensable tools for assessing the presence of elusive and nocturnal species inhibiting high-altitude regions, as emphasized by (Sharief et al. 2020). A total of 99 trails were walked within each grid, with a combined sampling effort of 1219 km. Observations included both direct sighting and indirect evidence, such as hoof marks, direct sighting and fecal matter etc were collected and recorded along with GPS coordinates.
After the completion of our initial reconnaissance survey, we have conducted camera trapping. Overall, 134 camera traps were strategically deployed into the intensive sampling grids of 4×4 km2 from December 2019 to December 2021 (Fig. 1). The intensive area was classified based on elevation and habitat types. All-camera trap was deployed along with animal trails, vintage point and nearby water sources to maximize the detection probability. Each camera trap was securely fixed to a tree at a height of 2-3 feet (approximately 30-45 cm) above the ground level. A minimum distance of 2 km was maintained from each camera traps were compulsory to reduce pseudo-replication and minimize the autocorrelation. These traps were programmed with a 24-hour time delay and a short 1-2 second delay for capturing images, following the methods outlined by (Joshi et al. 2019: Sharief et al. 2022). Cameras were cheeked approximately every 15 days for replacing their battery and retrieve data. All captured image were manually identified by author through the Vivek Menon book, 2014. However, to maintain independence and standardization between capture images, we followed the 30-minute interval between independent capture. The capture of same species in same camera was considered as single capture events. Further date and time of captured image recorded manually thorough timestamp of capture photographs. We used ultra-compact SPYPOINT FORCE-11D trail camera (SPYPOINT, GG Telecom, Canada, QC) and Browning trail camera (Defender 850, 20 MP, Prometheus Group, LLC Birmingham, Alabama, https:// brown into ailca meras. com) camera traps in this study.
Covariate selection
Overall, 31 environmental variables either collected during field survey or extracted from the ArcGis 10.6 (ESRI, Redlands, CA), were initially used for this study**** (Table S1). These variables were grouped into four categories i.e.,Habitat variables (Land cover land use/LULC), Anthropogenic variables, Bioclimatic and topographic variables. The LULC data was extracted using the MODIS (Moderate Resolution Imaging Spectro radiometer) Landcover (MCD12Q1) with a 500 m resolution https://earthexplorer.usgs.gov/ and classified our landscape into 5 different classes. The five distinct habitat types (LULC) were used for the analysis: Evergreen needle leaf forest (ENLF), Mix forest (Mixed), Savannah (Small grass with scattered tree) (SGWCT), Grassland (Grassland). We extracted 19 bioclimatic variables from Worldclim Ver. 2 (www.worldclim.org) with ~1 km spatial resolution (Hijmans et al. 2005). All topographic variables such as slope, ruggedness and elevation were extracted from the SRTM image from Earth Explorer (https://earthexplorer.usgs.gov/) and aspect was generated by PLANAR method in spatial analyst extension of ArcGIS 10.6. Furthermore, to understand the impact of anthropogenic disturbances, we used the global human footprint data (downloaded from SEDAC, NASA; https://sedac.ciesin.columbia.edu (Table 1). Additionally, we used the linear features, such as road and water, downloaded from Diva Gis (www.diva.gis.org) and calculated the Euclidean distance from the presence points using the Euclidean distance algorithms in ArcGIS 10.6 (Sharief et al. 2020). We rescaled all the predictors at 90 m spatial resolution using the spatial-analyst tool of ArcGIS 10.9. Consequently, we conducted a collinearity test using the Pearson correlation test, with a value higher than 0.8 (rs>0.8) were excluded from the analysis and retained 12 spatial independent variables relevant for our analysis (Warren et al. 2010).
Statistical analysis
Spatial niche overlap
Niche equivalency test and Background test
Environmental niche modelling was employed in the study to investigate the overall and seasonal niche overlap between barking deer and Himalayan goral (Warren et al. 2010). Overlap estimates were computed based on factors like altitudinal range, tree and shrub diversity, and aspects (Dar et al. 2012). Humboldt package in R programming was used to conduct Schoener's D for the niche equivalency test and Warren I for the niche background test (Brown and Carnaval 2019). The niche equivalency test assessed the observed niche similarity of the two species within their ecological niche models (ENMs), while the background test focused on the differences between the ENMs of these species. These indices typically ranged from 0, indicating no overlap between the two species, to 1 signifying complete overlap in their resource utilization. To facilitate this analysis, we pooled the species' distribution data (presence data) and reshuffled the occurrence locations (Rather and Khan, 2020). Furthermore, we using the PCA to define the E space and summarized the all-ecological variables within the humboltd package. The PCA analysis and ecological niche comparison, depicted that a 2-dimensional environmental space (referred to as E-space) effectively captured of the total variance. Additionally, we used Potential Niche Truncation Index (PNTI) in 'Humboldt' package to quantify the degree to which observed ecological space (E-space) is truncated by the available E-space (Brown and Carnaval 2019). PNTI values falling within the range of 0.15 to 0.3 indicate moderate risks, on the other hand, values greater than 0.3 indicate a high risk. Further we have also evaluated the niche overlap test for these sympatric species.
Temporal Activity Pattern and Overlap
Overall, 134 camera traps, with 6260 trap nights efforts has been used for temporal activity pattern of both sympatric species, out of these totals, have been deployed 89 in the summer with 3046 trap nights and 90 in the winter with 3214 trap nights. The activity patterns among species were compared using kernel density estimation based on timestamp data obtained from camera traps. Temporal overlap between these species was quantified using the package "Overlap" in R studio; in 3.5.1 (R Development Core Team) (Meredith and Ridout 2019). The time and date printed on the photographs have been used to determine the daily activity pattern of individual species (Pei et al. 1998). A daily Activity Index (DAI) of half an hour duration was employed to examine daily activity. Overlap values categorized into three levels, where 0.5 and 0.75 as “moderate”, 0.75 and 0.90 as “high”, and > 0.90 as “very high” (Monterroso et al. 2014). The coefficient of overlap is denoted by "Dhat4" values, ranging between zero (no overlap) and 1.0 (complete overlap). The Dhat ∆1 estimator is typically used when the sample size is smaller than < 50 and Dhat ∆4 used when the sample size is greater than >50 (Ridoutand and Linkie 2009). Additionally, to statistically asses any significant difference or uniformity in activity pattern, we have conducted Watson’s two-sample test of homogeneity in package “circular” (Lund et al. 2017). Overall, we used (158) independent detections of Himalayan goral and (296) detections of Barking deer for this activity pattern analysis.
