Mikrubi
Mikrubi: a model for species distributions using region-based records
Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 7 DOI reference(s) in README -
✓Academic publication links
Links to: wiley.com -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
Mikrubi: a model for species distributions using region-based records
Basic Info
- Host: GitHub
- Owner: Mikumikunisiteageru
- License: mit
- Language: Julia
- Default Branch: master
- Homepage: https://mikumikunisiteageru.github.io/Mikrubi.jl/
- Size: 4.42 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 4
Metadata Files
README.md
Mikrubi.jl
Mikrubi: a model for species distributions using region-based records
Many species occurrence records from specimens and publications are based on regions such as administrative units (thus sometimes called counties in the codes). These region-based records are accessible and dependable, and sometimes they are the only available data source; however, few species distribution models accept such data as direct input. In Yang et al. (2023), we present a method named Mikrubi for robust prediction of species distributions from region-based occurrence data. This is the Julia package implementing the algorithms.
Installation
Mikrubi.jl currently requires Julia v1.7.0 or higher. This registered package can be installed inside the Julia REPL by typing
julia
]add Mikrubi
Input data requirements
To estimate the fine-scale distribution of a species using its presence or absence in each region, the package generally requires three types of input data:
A map describing the shapes of all regions as polygons. For many countries or regions, such an administrative partition map can be found from Database of Global Administrative Areas (accessible via GADM.jl, see examples/prinsepia/jui.jl). Specifically for China, the correct county-level shapefile is available from National Platform of Common Geospatial Information Services and Gaode Map Open Platform.
Raster layers of climatic factors of the same size, shape, and resolution. A commonly used dataset is WorldClim (accessible via RasterDataSources.jl).
A list of regions occupied by the species.
Workflow
A typical workflow of the package resembles the following lines, where shppath refers to the path to the map file, climpath refers to the directory path to the raster files, and ctlistpath refers to the path to the list containing lines of integer identifiers representing the regions.
julia
using Mikrubi
shptable = readshape(shppath)
layers = readlayers(climpath)
ctlist = readlist(ctlistpath)
field, ylayers = makefield(layers, shptable)
model = fit(field, ctlist)
geodist = predict(ylayers, model)
writelayer("path/to/output/geodist.tif", geodist)
Citation
An introduction of this package and the model it implements has been published on Ecography (10.1111/ecog.06283).
Thank Michael Krabbe Borregaard @mkborregaard and Rafael Schouten @rafaqz for reviewing the code and the manuscript and giving greatly constructive opinions!
If you apply the package or the model in your research, please cite them via the paper above or as the following after substituting the version:
Yang, Y.-C., Zhang, Q. and Chen, Z.-D. 2023. Mikrubi: a model for species distributions using region-based records. – Ecography 2023: e06283 (ver. 1.3.2).
The equivalent BibTeX file for citation is available at CITATION.bib. You may also import this file or the following BibTeX code block to your reference management software.
bibtex
@article{Mikrubi2023,
author = {Yang, Yu-Chang and Zhang, Qian and Chen, Zhi-Duan},
title = {Mikrubi: a model for species distributions using region-based records},
journal = {Ecography},
year = {2023},
volume = {2023},
pages = {e06283},
doi = {https://doi.org/10.1111/ecog.06283},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/ecog.06283},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1111/ecog.06283},
}
Patch to the Ecography paper
Due to an update of GADM.jl on May 16, 2023 which fetches GADM data v4.1 rather than v3.6, the district-level map of Nepal now has index 3 (no longer 1 as in the paper). The corresponding line in the code example from the paper (see also jui.jl) should be changed to
julia
shptable = readshape(shppath, 3) # District-level
Owner
- Name: Yu-Chang Yang
- Login: Mikumikunisiteageru
- Kind: user
- Location: Beijing, China
- Company: Institute of Botany, Chinese Academy of Sciences
- Repositories: 3
- Profile: https://github.com/Mikumikunisiteageru
A PhD candidate in botany
Citation (CITATION.bib)
@article{Mikrubi2023,
author = {Yang, Yu-Chang and Zhang, Qian and Chen, Zhi-Duan},
title = {Mikrubi: a model for species distributions using region-based records},
journal = {Ecography},
year = {2023},
volume = {2023},
pages = {e06283},
doi = {https://doi.org/10.1111/ecog.06283},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/ecog.06283},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1111/ecog.06283},
}
GitHub Events
Total
- Create event: 1
- Commit comment event: 1
- Release event: 1
- Watch event: 1
- Push event: 9
Last Year
- Create event: 1
- Commit comment event: 1
- Release event: 1
- Watch event: 1
- Push event: 9
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 2
- Total pull requests: 2
- Average time to close issues: 7 days
- Average time to close pull requests: 11 minutes
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 5.0
- Average comments per pull request: 2.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Mikumikunisiteageru (1)
- JuliaTagBot (1)
Pull Request Authors
- Mikumikunisiteageru (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 6
juliahub.com: Mikrubi
Mikrubi: a model for species distributions using region-based records
- Homepage: https://mikumikunisiteageru.github.io/Mikrubi.jl/
- Documentation: https://docs.juliahub.com/General/Mikrubi/stable/
- License: MIT
-
Latest release: 1.4.0
published about 1 year ago
Rankings
Dependencies
- actions/checkout v2 composite
- codecov/codecov-action v3 composite
- julia-actions/julia-buildpkg latest composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest latest composite
- julia-actions/setup-julia v1 composite
- actions/checkout v2 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite