Assessing patterns of extinction risk amongst mammal species in Nigeria: A comparative analysis of human impact.
The 7 matches
- [1] § Material and methods ↔ NIGMAL Scripts/Data_Cleaning.Rmd, lines 68–122 · score 0.91 · Extant Reintroduced, Possibly Extant, extant polygons, geographic area, extinct area, Geographic range
- [2] § Results ↔ NIGMAL Scripts/visualization.Rmd, lines 7–96 · score 0.78 · Residential Commercial Development, Human Intrusions, Agriculture Aquaculture, Biological Resource, Climate Change Severe, Brain Mass
- [3] § Results ↔ NIGMAL Scripts/visualization.Rmd, lines 7–96 · score 0.76 · Energy Production Mining, Transportation Service Corridors, Agriculture Aquaculture, Climate Change Severe, Weather, human
- [4] § Material and methods ↔ NIGMAL Scripts/model_outputs.Rmd, lines 7–120 · score 0.75 · logistic_MPLE, phylogenetic logistic regression, IUCN Red, pruned, Threats Model, phyloglm
- [5] § Results ↔ NIGMAL Scripts/model_fitting.Rmd, lines 41–80 · score 0.74 · Human Intrusions, Commercial Development, Agriculture Aquaculture, Severe Weather, Biological Resource, Climate Change
- [6] § Results ↔ NIGMAL Scripts/model_fitting.Rmd, lines 41–80 · score 0.72 · Service Corridors, Energy Production, Agriculture Aquaculture, Severe Weather, Climate Change, Mining
- [7] § Material and methods ↔ NIGMAL Scripts/model_outputs.Rmd, lines 7–120 · score 0.58 · phylogenetic logistic regression, IUCN threat categories, models
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R Markdown · 238 lines · 6.9 KB · MIT · 2 matches
- ---
- title: "visualization"
- author: "Bernard Asanbe"
- date: "2025"
- ---
- ```{r}
- # Load required libraries
- library(ggplot2)
- library(dplyr)
- library(readr)
- library(scales)
- # Read the CSV file
- data <- read_csv("insert_file_path_here/Phyloglm_modelling_results.csv")
- # Filter out intercept rows
- data <- data %>% filter(Predictor != "(Intercept)")
- # Add significance labels: multiple asterisks based on p-values
- data <- data %>%
- mutate(Significance = case_when(
- Sig < 0.001 ~ "***",
- Sig < 0.01 ~ "**",
- Sig < 0.05 ~ "*",
- TRUE ~ ""
- ))
- # Order models, keeping "Total_Threat_Model" first
- models <- unique(data$Model)
- models <- c("Total_Threats_Model", setdiff(models, "Total_Threats_Model"))
- # Create a high-contrast color palette using varying luminance
- # Mix of dark and light tones for better contrast
- n_other <- length(models) - 1
- hues <- seq(15, 375, length.out = n_other + 1)[-1]
- luminances <- rep(c(40, 70), length.out = n_other) # alternate luminance for contrast
- colorful_palette <- hcl(h = hues, c = 100, l = luminances)
- # Assign black to Total Threat Model, add colorful palette to others
- colors <- c("Total_Threats_Model" = "black")
- colors <- c(colors, setNames(colorful_palette, models[-1]))
- # Set factor levels to control order
- data$Model <- factor(data$Model, levels = models)
- # Clean up Predictor labels (x-axis)
- data$Predictor <- recode(data$Predictor,
- "Scaled_CurrentByTotalArea_km2" = "Historical Range Contraction",
- "Scaled_Log_Brain_Mass_g" = "Brain Mass",
- "Scaled_Log_CurrentArea_km2" = "Current Area (km²)",
- "Scaled_Log_GenerationTime_d" = "Generation Time",
- "Scaled_Log_Mass_g" = "Body Mass",
- )
- # Clean up Model labels (legend)
- data$Model <- recode(as.character(data$Model),
- "Total_Threats_Model" = "Total Threats Model",
- "Agriculture_&_aquaculture" = "Agriculture & Aquaculture",
- "Biological_resource_use" = "Biological Resource Use",
- "Residential_&_commercial_development" = "Residential & Commercial Development",
- "Energy_production_&_mining" = "Energy Production & Mining",
- "Transportation_&_service_corridors" = "Transportation & Service Corridors",
- "Human_intrusions_&_disturbance" = "Human Intrusions & Disturbance",
- "Climate_change_&_severe_weather" = "Climate Change & Severe Weather",
- "Pollution" = "Pollution"
- )
- # Re-apply factor order after recoding (Total Threats must stay first)
- data$Model <- factor(data$Model, levels = c(
- "Total Threats Model",
- "Agriculture & Aquaculture",
- "Biological Resource Use",
- "Residential & Commercial Development",
- "Energy Production & Mining",
- "Transportation & Service Corridors",
- "Human Intrusions & Disturbance",
- "Climate Change & Severe Weather",
- "Pollution"
- ))
- # Update colors to match new model names
- colors <- c("Total Threats Model" = "black")
- colors <- c(colors, setNames(colorful_palette,
- c("Agriculture & Aquaculture",
- "Biological Resource Use",
- "Residential & Commercial Development",
- "Energy Production & Mining",
- "Transportation & Service Corridors",
- "Human Intrusions & Disturbance",
- "Climate Change & Severe Weather",
- "Pollution")))
- ```
- Plotting of Raw graph
- ```{r}
- # Compute vertical position for asterisks
- data <- data %>%
- mutate(asterisk_y = ifelse(Effect_size >= 0,
- Effect_size + SE + 0.05,
- Effect_size - SE - 0.1))
- # Build the final plot
- p1 <- ggplot(data, aes(x = Predictor, y = Effect_size, fill = Model)) +
- geom_bar(stat = "identity",
- position = position_dodge(width = 0.8),
- width = 0.7) +
- geom_errorbar(aes(ymin = Effect_size - SE,
- ymax = Effect_size + SE),
- position = position_dodge(width = 0.8),
- width = 0.25) +
- geom_text(aes(y = asterisk_y, label = Significance),
- position = position_dodge(width = 0.8),
- angle = 90,
- size = 6,
- fontface = "bold",
- color = "red3",
- hjust = -0.05) +
- labs(
- y = "Effect Size",
- x = "Predictor",
- fill = "Threat Models"
- ) +
- scale_fill_manual(values = colors) +
- theme_minimal(base_size = 18) +
- theme(
- axis.text.x = element_text(
- angle = 52,
- size = 14,
- hjust = 1,
- face = "plain"
- ),
- axis.line = element_line(color = "black"),
- axis.ticks = element_line(color = "black"),
- panel.grid.major.x = element_blank(),
- panel.grid.minor.x = element_blank(),
- legend.position = "right"
- )
- p1
- ggsave(
- "Fig1_raw_effects.jpeg",
- plot = p1,
- width = 14,
- height = 8,
- dpi = 300,
- )
- ```
- Plotting of Standardized (scaled) graph
- ```{r}
- # Compute vertical position for asterisks
- data <- data %>%
- mutate(asterisk_y = ifelse(Std_Effect_size >= 0,
- Std_Effect_size + SE + 0.05,
- Std_Effect_size - SE - 0.1))
- # Build the final plot
- p2 <- ggplot(
- data_std,
- aes(x = Predictor,
- y = Std_Effect_size,
- fill = Model)
- ) +
- geom_bar(
- stat = "identity",
- position = position_dodge(width = 0.8),
- width = 0.7
- ) +
- geom_errorbar(
- aes(
- ymin = Std_Effect_size - Std_SE,
- ymax = Std_Effect_size + Std_SE
- ),
- position = position_dodge(width = 0.8),
- width = 0.25
- ) +
- geom_text(
- aes(
- y = asterisk_y,
- label = Significance
- ),
- position = position_dodge(width = 0.8),
- angle = 90,
- size = 6,
- fontface = "bold",
- color = "red3",
- hjust = -0.05
- ) +
- labs(
- y = "Standardized Effect Size",
- x = "Predictor",
- fill = "Threat Models"
- ) +
- scale_fill_manual(values = colors) +
- theme_minimal(base_size = 18) +
- theme(
- axis.text.x = element_text(
- angle = 52,
- size = 14,
- hjust = 1,
- face = "plain"
- ),
- axis.line = element_line(color = "black"),
- axis.ticks = element_line(color = "black"),
- panel.grid.major.x = element_blank(),
- panel.grid.minor.x = element_blank(),
- legend.position = "right"
- )
- # Display plot
- p2
- # Save Figure 2
- ggsave(
- filename = "Fig2_std_effects.jpeg",
- plot = p2,
- width = 14,
- height = 8,
- dpi = 300,
- )
- ```
- ```{r}
- ```
visualization.Rmd, under MIT · at the source
Overview
Abstract
This study aimed to evaluate how biological traits influence extinction risk amongst mammal species in Nigeria and how these traits interact with specific anthropogenic threats, such as agriculture, urbanisation and climate change. Focusing on mammal species in Nigeria, we used phylogenetic logistic regression to test the influence of five biological traits: body mass, brain mass, generation time, current geographic range and historical range contraction, on extinction risk across nine IUCN threat categories. Standardised models were used to compare trait sensitivity across threats. Brain mass emerged as the most consistent and influential predictor of extinction risk across threat categories, including agriculture, biological resource use, urban development and, notably, climate change, where it was the strongest predictor of all models. Species with larger brains, often primates and carnivores, were highly vulnerable. Geographic range size was a strong negative predictor of risk across most models, with range-restricted species more susceptible to habitat loss and fragmentation. Generation time was positively associated with risk under direct human pressures, but inversely linked under climate threats. Body mass showed weak and inconsistent effects overall, though it was significantly and negatively associated with extinction risk under agriculture and aquaculture. The number of species affected was highest under direct human pressures, compared to indirect anthropogenic threats, such as climate change and pollution. Extinction risk in Nigerian mammals is shaped by intrinsic traits that interact predictably with human pressures. Species with large brains, small ranges and slow reproduction are at greatest risk. Trait-based models can improve conservation planning by identifying vulnerable species before population declines become critical, especially in regions facing intensive land-use change.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.
Zenodo 20646160
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
5 files
- NIGMAL Scripts/
Data_Cleaning.Rmd , R, 142 lines, 1 match - NIGMAL Scripts/
model_fitting.Rmd , R, 120 lines, 2 matches - NIGMAL Scripts/
model_outputs.Rmd , R, 144 lines, 2 matches - NIGMAL Scripts/
visualization.Rmd , R, 238 lines, 2 matches - README.md, Text, 148 lines
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 4 scripts, each with its path and the digest of its content;
- 7 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- github.com/
btrex7/ , at github.com; found in the Zenodo archive recordnigmal
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 1 author, 4 keywords, 38 references.
Cite
This paper
Asanbe, B. (2026). Assessing patterns of extinction risk amongst mammal species in Nigeria: A comparative analysis of human impact. Biodiversity data journal, 14, e191439. https://
BibTeX
@article{asanbe2026asses
author = {Asanbe, Bernard},
title = {{Assessing patterns of extinction risk amongst mammal species in Nigeria: A comparative analysis of human impact}},
journal = {Biodiversity data journal},
year = {2026},
month = aug,
volume = {14},
pages = {e191439},
publisher = {Pensoft Publishers},
issn = {1314-2828},
doi = {10.3897/
url = {https://
pmid = {42668897},
pmcid = {PMC13525407}
}
RIS
TY - JOUR
AU - Asanbe, Bernard
TI - Assessing patterns of extinction risk amongst mammal species in Nigeria: A comparative analysis of human impact
T2 - Biodiversity data journal
J2 - Biodivers Data J
PY - 2026
DA - 2026/
VL - 14
SP - e191439
SN - 1314-2828
PB - Pensoft Publishers
DO - 10.3897/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3897/
"type": "article-journal",
"title": "Assessing patterns of extinction risk amongst mammal species in Nigeria: A comparative analysis of human impact",
"container-title": "Biodiversity data journal",
"author": [
{
"family": "Asanbe",
"given": "Bernard"
}
],
"container-title-short":
"volume": "14",
"page": "e191439",
"DOI": "10.3897/
"PMID": "42668897",
"PMCID": "PMC13525407",
"ISSN": "1314-2828",
"publisher": "Pensoft Publishers",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
21
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41598-026-53133-y [code]
- Evolutionary stasis in synapsid encephalization during the end-permian mass extinction.Journal: Scientific reportsIn common: tidyverse, 2 references
- [2] doi:10.1093/braincomms/fcag279 [code]
- Network flexibility facilitates treatment-induced recovery in post-stroke aphasia.Journal: Brain communicationsIn common: car, ggplot2, tidyverse
- [3] doi:10.1093/braincomms/fcag351 [code]
- Time-resolved aperiodic dynamics in event segmentation in attention-deficit/
hyperactivity disorder. Journal: Brain communicationsIn common: car, ggplot2, tidyverse - [4] doi:10.1126/sciadv.aec9291 [code]
- Computational mechanisms of perception in autism revealed using games inspired by rodent operant tasks.Journal: Science advancesIn common: car, ggplot2, tidyverse
- [5] doi:10.1162/imag.a.1363 [code]
- Social approach-avoidance conflict: Behavioural, emotional, and neural correlates along a depression-social anxiety spectrum.Journal: Imaging neuroscience (Cambridge, Mass.)In common: car, ggplot2, tidyverse
- [6] doi:10.1093/braincomms/fcag318 [code]
- Antenatal maternal anaemia and infant brain structure: high-field (3 T) and ultra-low-field (64 mT) MRI findings from South Africa.Journal: Brain communicationsIn common: car, ggplot2, tidyverse
- [7] doi:10.1038/s41467-026-72845-3 [code]
- The membrane-to-cortex distance regulates mDia1 activity to control cortical mechanics.Journal: Nature communicationsIn common: car, ggplot2, tidyverse
- [8] doi:10.1093/ageing/afag263 [code]
- Cardiometabolic medication exposures and cognitive outcomes in Alzheimer's disease.Journal: Age and ageingIn common: car, ggplot2, tidyverse
- [9] doi:10.1093/brain/awag039 [code]
- Mapping the causal chain from genetic risk variants to lipid dysmetabolism in Parkinson's disease.Journal: Brain : a journal of neurologyIn common: car, ggplot2, tidyverse
- [10] doi:10.1186/s40478-026-02415-7 [code]
- A standardized framework resolves ambiguity in motor neuron loss across neurodegenerative diseases.Journal: Acta neuropathologica communicationsIn common: car, ggplot2, tidyverse
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 4 scripts, and 7 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:fcbff9089dcf8e9f…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
