CRAN/E | geohabnet

geohabnet

Geographical Risk Analysis Based on Habitat Connectivity

Installation

About

The geohabnet package is designed to perform a geographically or spatially explicit risk analysis of habitat connectivity. Xing et al (2021) doi:10.1093/biosci/biaa067 proposed the concept of cropland connectivity as a risk factor for plant pathogen or pest invasions. As the functions in geohabnet were initially developed thinking on cropland connectivity, users are recommended to first be familiar with the concept by looking at the Xing et al paper. In a nutshell, a habitat connectivity analysis combines information from maps of host density, estimates the relative likelihood of pathogen movement between habitat locations in the area of interest, and applies network analysis to calculate the connectivity of habitat locations. The functions of geohabnet are built to conduct a habitat connectivity analysis relying on geographic parameters (spatial resolution and spatial extent), dispersal parameters (in two commonly used dispersal kernels: inverse power law and negative exponential models), and network parameters (link weight thresholds and network metrics). The functionality and main extensions provided by the functions in geohabnet to habitat connectivity analysis are a) Capability to easily calculate the connectivity of locations in a landscape using a single function, such as sensitivity_analysis() or msean(). b) As backbone datasets, the geohabnet package supports the use of two publicly available global datasets to calculate cropland density. The backbone datasets in the geohabnet package include crop distribution maps from Monfreda, C., N. Ramankutty, and J. A. Foley (2008) doi:10.1029/2007gb002947 "Farming the planet: 2. Geographic distribution of crop areas, yields, physiological types, and net primary production in the year 2000, Global Biogeochem. Cycles, 22, GB1022" and International Food Policy Research Institute (2019) doi:10.7910/DVN/PRFF8V "Global Spatially-Disaggregated Crop Production Statistics Data for 2010 Version 2.0, Harvard Dataverse, V4". Users can also provide any other geographic dataset that represents host density. c) Because the geohabnet package allows R users to provide maps of host density (as originally in Xing et al (2021)), host landscape density (representing the geographic distribution of either crops or wild species), or habitat distribution (such as host landscape density adjusted by climate suitability) as inputs, we propose the term habitat connectivity. d) The geohabnet package allows R users to customize parameter values in the habitat connectivity analysis, facilitating context-specific (pathogen- or pest-specific) analyses. e) The geohabnet package allows users to automatically visualize maps of the habitat connectivity of locations resulting from a sensitivity analysis across all customized parameter combinations. The primary function is sean() and sensitivity analysis(). Most functions in geohabnet provide as three main outcomes: i) A map of mean habitat connectivity across parameters selected by the user, ii) a map of variance of habitat connectivity across the selected parameters, and iii) a map of the difference between the ranks of habitat connectivity and habitat density. Each function can be used to generate these maps as 'final' outcomes. Each function can also provide intermediate outcomes, such as the adjacency matrices built to perform the analysis, which can be used in other network analysis. Refer to article at to see examples of each function and how to access each of these outcome types. To change parameter values, the file called parameters.yaml stores the parameters and their values, can be accessed using get_parameters() and set new parameter values with set_parameters(). Users can modify up to ten parameters.

garrettlab.github.io/HabitatConnectivity/
CRAN.R-project.org/package=geohabnet/
github.com/GarrettLab/HabitatConnectivity/tree/main/geohabnet/
www.garrettlab.com/
Bug report File report

Key Metrics

Version 2.1.2
Published 2024-04-08 27 days ago
Needs compilation? no
License GPL-3
CRAN checks geohabnet results

Downloads

Yesterday 3 -50%
Last 7 days 49 -50%
Last 30 days 410 +16%
Last 90 days 974 +36%
Last 365 days 1.952

Maintainer

Maintainer

Krishna Keshav

kkeshav@ufl.edu

Authors

Krishna Keshav

aut / cre

Aaron Plex

aut

Garrett Lab

ctb

(https://garrettlab.com)

Karen Garrett

aut

University of Florida

cph / fnd

(https://www.ufl.edu)

Material

README
NEWS
Reference manual
Package source

Vignettes

Network centralities in GeoHabnet
Analyzing risk index using habitat connectivity

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

geohabnet archive

Imports

config ≥ 0.3.1
geodata ≥ 0.5.8
geosphere ≥ 1.5.18
igraph ≥ 1.4.2
terra ≥ 1.7.29
easycsv ≥ 1.0.8
yaml ≥ 2.3.7
stats
stringr ≥ 1.5.0
memoise ≥ 2.0.1
graphics
rlang ≥ 1.1.1
viridisLite ≥ 0.4.2
beepr ≥1.3
rnaturalearth ≥ 0.3.3
tools
methods
future.apply ≥ 1.11.0
future ≥ 1.33.0
magrittr ≥ 2.0.3

Suggests

devtools
knitr
lintr ≥ 3.0.2
mockthat ≥ 0.2.8
pkgdown
rmarkdown
testthat ≥ 3.1.7