hagis

Analysis of Plant Pathogen Pathotype Complexities, Distributions and Diversity

https://github.com/openplantpathology/hagis

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 15 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.6%) to scientific vocabulary

Keywords

pathotype-complexities plant-disease plant-pathology population-diversities

Keywords from Contributors

carpentries interpretability standardization animal hack
Last synced: 6 months ago · JSON representation

Repository

Analysis of Plant Pathogen Pathotype Complexities, Distributions and Diversity

Basic Info
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 2
Topics
pathotype-complexities plant-disease plant-pathology population-diversities
Created almost 2 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Codemeta

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# {hagis}: Analysis of Plant (and Animal) Pathogen Pathotype Complexities, Distributions and Diversity
    


[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) 
[![Codecov test coverage](https://codecov.io/gh/openplantpathology/hagis/branch/main/graph/badge.svg)](https://app.codecov.io/gh/openplantpathology/hagis?branch=main)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/hagis)](https://cran.r-project.org/package=hagis)  [![DOI](https://zenodo.org/badge/164751172.svg)](https://zenodo.org/badge/latestdoi/164751172) [![test-coverage](https://github.com/openplantpathology/hagis/actions/workflows/test-coverage.yaml/badge.svg)](https://github.com/openplantpathology/hagis/actions/workflows/test-coverage.yaml)


## Introduction

The goal of {hagis} is to provide analysis tools for plant pathogens with gene-for-gene interactions in the R programming language that the original [Habgood-Gilmour Spreadsheet, HaGiS](https://doi.org/10.1046/j.1365-3059.1999.00325.x), (Herrmann, Löwer and Schachtel) provided.

This R package has been published in *MPMI* as a resource announcement [(McCoy *et al.* 2019)](https://doi.org/10.1094/MPMI-07-19-0180-A).
You may wish to refer to that paper for further information on this package.

## Overview

{hagis} was initially created for *Phytophthora sojae* surveys by Dr. Austin McCoy and Dr. Zachary Noel at Michigan State University in the US, where the disease has been managed primarily via deployment of resistance genes (*Rps* genes, resistance to *P. sojae*) in commercial soybean cultivars and by the application of fungicide seed treatments.
However, repeated use of resistance genes can cause populations to adapt over time rendering these resistance genes ineffective.
To determine current effectiveness of resistance genes for managing *P. sojae*, state-wide surveys (in the US) are conducted to determine the pathotype (previously referred to as "race") structure within sampled population of *P. sojae*.

However, the package is not only useful for *P. sojae* work.
It was built to be useful for other plant pathogen gene-for-gene interaction systems, *e.g.*, wheat rusts, but it has been used in animal science as well, see [Cain *et al.* 2022](https://doi.org/10.1186/s13071-022-05533-y).

The goal of this package is to provide all the necessary analyses needed when conducting a pathotype surveys, including: distribution of susceptibilities (effective and non-effective resistance genes), distribution of pathotype complexities with statistics, pathotype frequency distribution, as well as diversity indices for pathotypes in an efficient and reproducible manner.

New users are encouraged to visit the documentation, , for detailed information on how to use {hagis} along with working examples using a built-in data set.

## Quick Start Install

### Stable Version

A CRAN version of {hagis} is available but lags behind the GitHub version.
They both will give exactly the same results.

``` r
install.packages("hagis")
```

### Development Version

A development version is available from from GitHub that may provide bug fixes or new features not yet available from CRAN.

``` r
o <- options() # store default options

options(pkg.build_vignettes = TRUE)
if (!require("pak")) {
  install.packages("pak", repos = "http://cran.rstudio.com/")
  library("pak")
}

pak("openplantpathology/hagis", build_vignettes = TRUE)
options(o) # reset options
```

## Meta

### Citation

When you use {hagis}, please cite by using:

```{r}
citation("hagis")
```

### Code of Conduct

Please note that the {hagis} project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.

## References

> Herrmann, Löwer and Schachtel. (1999), A new tool for entry and analysis of virulence data for plant pathogens. Plant Pathology, 48: 154-158. DOI: [10.1046/j.1365-3059.1999.00325.x](https://doi.org/10.1046/j.1365-3059.1999.00325.x)

> McCoy, Noel, Sparks and Chilvers. (2019). 'hagis', an R Package Resource for Pathotype Analysis of _Phytophthora sojae_ Populations Causing Stem and Root Rot of Soybean. Molecular Plant-Microbe Interactions 32.12 (Nov 2019) p. 1574-1576. DOI: [10.1094/MPMI-07-19-0180-A](https://doi.org/10.1094/MPMI-07-19-0180-A)

> Cain, Norris, Ripley, Suri, Finnerty, Gravatte, and Nielsen, 2022. The microbial community associated with _Parascaris_ spp. infecting juvenile horses. Parasites & Vectors, 15(1), pp.1-17. [10.1186/s13071-022-05533-y](https://doi.org/10.1186/s13071-022-05533-y)

Owner

  • Name: Open Plant Pathology
  • Login: openplantpathology
  • Kind: organization
  • Email: openplantpathology@gmail.com
  • Location: Global

A community that values open data and computational tools for advancing epidemiology and pathogen population biology and ecology

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "identifier": "hagis",
  "description": "Analysis of plant pathogen pathotype survey data. Functions provided calculate distribution of susceptibilities, distribution of complexities with statistics, pathotype frequency distribution, as well as diversity indices for pathotypes. This package is meant to be a direct replacement for Herrmann, Lwer and Schachtel's (1999) <doi:10.1046/j.1365-3059.1999.00325.x> Habgood-Gilmour Spreadsheet, 'HaGiS', previously used for pathotype analysis.",
  "name": "hagis: Analysis of Plant Pathogen Pathotype Complexities, Distributions\n    and Diversity",
  "relatedLink": [
    "https://openplantpathology.github.io/hagis/",
    "https://CRAN.R-project.org/package=hagis"
  ],
  "codeRepository": "https://github.com/openplantpathology/hagis",
  "issueTracker": "https://github.com/openplantpathology/hagis/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "4.0.0.9000",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 4.5.1 (2025-06-13)",
  "provider": {
    "@id": "https://cran.r-project.org",
    "@type": "Organization",
    "name": "Comprehensive R Archive Network (CRAN)",
    "url": "https://cran.r-project.org"
  },
  "author": [
    {
      "@type": "Person",
      "givenName": "Austin G.",
      "familyName": "McCoy",
      "email": "mccoyaus@msu.edu",
      "@id": "https://orcid.org/0000-0003-2483-4184"
    },
    {
      "@type": "Person",
      "givenName": "Zachary",
      "familyName": "Noel",
      "email": "noelzach@msu.edu",
      "@id": "https://orcid.org/0000-0001-6375-8300"
    },
    {
      "@type": "Person",
      "givenName": "Adam H.",
      "familyName": "Sparks",
      "email": "adamhsparks@gmail.com",
      "@id": "https://orcid.org/0000-0002-0061-8359"
    },
    {
      "@type": "Person",
      "givenName": "Martin",
      "familyName": "Chilvers",
      "email": "chilvers@msu.edu",
      "@id": "https://orcid.org/0000-0001-8832-1666"
    },
    {
      "@type": "Person",
      "givenName": "Jari",
      "familyName": "Oksanen",
      "email": "jhoksane@gmail.com"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Zhian N.",
      "familyName": "Kamvar",
      "@id": "https://orcid.org/0000-0003-1458-7108"
    },
    {
      "@type": "Person",
      "givenName": "Martin",
      "familyName": "Chilvers",
      "email": "chilvers@msu.edu",
      "@id": "https://orcid.org/0000-0001-8832-1666"
    }
  ],
  "copyrightHolder": [
    {
      "@type": "Organization",
      "name": "Michigan Soybean Promotion Committee"
    },
    {
      "@type": "Organization",
      "name": "Project GREEEN"
    },
    {
      "@type": "Organization",
      "name": "North Central Soybean Research Program"
    },
    {
      "@type": "Organization",
      "name": "Grains Research and Development Corporation"
    },
    {
      "@type": "Organization",
      "name": "Michigan State University"
    },
    {
      "@type": "Organization",
      "name": "University of Southern Queensland"
    },
    {
      "@type": "Organization",
      "name": "Curtin University"
    }
  ],
  "funder": [
    {
      "@type": "Organization",
      "name": "Michigan Soybean Promotion Committee"
    },
    {
      "@type": "Organization",
      "name": "Project GREEEN"
    },
    {
      "@type": "Organization",
      "name": "North Central Soybean Research Program"
    },
    {
      "@type": "Organization",
      "name": "Grains Research and Development Corporation"
    },
    {
      "@type": "Organization",
      "name": "Michigan State University"
    },
    {
      "@type": "Organization",
      "name": "University of Southern Queensland"
    },
    {
      "@type": "Organization",
      "name": "Curtin University"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Adam H.",
      "familyName": "Sparks",
      "email": "adamhsparks@gmail.com",
      "@id": "https://orcid.org/0000-0002-0061-8359"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "ape",
      "name": "ape",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ape"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "dplyr",
      "name": "dplyr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=dplyr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "roxyglobals",
      "name": "roxyglobals",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=roxyglobals"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "vdiffr",
      "name": "vdiffr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=vdiffr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "vegan",
      "name": "vegan",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=vegan"
    }
  ],
  "softwareRequirements": {
    "1": {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.4.0"
    },
    "2": {
      "@type": "SoftwareApplication",
      "identifier": "data.table",
      "name": "data.table",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=data.table"
    },
    "3": {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    "4": {
      "@type": "SoftwareApplication",
      "identifier": "pander",
      "name": "pander",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=pander"
    },
    "5": {
      "@type": "SoftwareApplication",
      "identifier": "stats",
      "name": "stats"
    },
    "6": {
      "@type": "SoftwareApplication",
      "identifier": "utils",
      "name": "utils"
    },
    "SystemRequirements": null
  },
  "applicationCategory": "Tools",
  "isPartOf": "https://openplantpathology.org",
  "keywords": [
    "plant-pathology",
    "pathotype",
    "pathogen-survey",
    "virulenceanalysis",
    "differentialset",
    "assessmentscale",
    "plant-disease",
    "pathotype-complexities",
    "population-diversities"
  ],
  "fileSize": "1640.584KB",
  "citation": [
    {
      "@type": "ScholarlyArticle",
      "datePublished": "2019",
      "author": [
        {
          "@type": "Person",
          "givenName": [
            "Austin",
            "Glenn"
          ],
          "familyName": "McCoy"
        },
        {
          "@type": "Person",
          "givenName": [
            "Zachary",
            "A."
          ],
          "familyName": "Noel"
        },
        {
          "@type": "Person",
          "givenName": [
            "Adam",
            "H."
          ],
          "familyName": "Sparks"
        },
        {
          "@type": "Person",
          "givenName": "Martin",
          "familyName": "Chilvers"
        }
      ],
      "name": "{hagis}, an {R} Package Resource for Pathotype Analysis of {Phytophthora sojae} Populations Causing Stem and Root Rot of Soybean",
      "identifier": "10.1094/MPMI-07-19-0180-A",
      "url": "https://doi.org/10.1094/MPMI-07-19-0180-A",
      "pagination": "15741576",
      "@id": "https://doi.org/10.1094/MPMI-07-19-0180-A",
      "sameAs": "https://doi.org/10.1094/MPMI-07-19-0180-A",
      "isPartOf": {
        "@type": "PublicationIssue",
        "issueNumber": "12",
        "datePublished": "2019",
        "isPartOf": {
          "@type": [
            "PublicationVolume",
            "Periodical"
          ],
          "volumeNumber": "32",
          "name": "Molecular Plant-Microbe Interactions"
        }
      }
    },
    {
      "@type": "SoftwareSourceCode",
      "author": [
        {
          "@type": "Person",
          "givenName": [
            "Austin",
            "G."
          ],
          "familyName": "McCoy"
        },
        {
          "@type": "Person",
          "givenName": [
            "Zachary",
            "A."
          ],
          "familyName": "Noel"
        },
        {
          "@type": "Person",
          "givenName": [
            "Adam",
            "H."
          ],
          "familyName": "Sparks"
        },
        {
          "@type": "Person",
          "givenName": [
            "Martin",
            "I"
          ],
          "familyName": "Chilvers"
        }
      ],
      "name": "{hagis}: Analysis of Plant Pathogen Pathotype Complexities, Distributions and Diversity",
      "identifier": "10.5281/zenodo.2619820",
      "url": "https://openplantpathology.github.io/hagis/",
      "description": "R package version 4.0.0.9000",
      "@id": "https://doi.org/10.5281/zenodo.2619820",
      "sameAs": "https://doi.org/10.5281/zenodo.2619820"
    }
  ],
  "releaseNotes": "https://github.com/openplantpathology/hagis/blob/main/NEWS.md",
  "readme": "https://github.com/openplantpathology/hagis/blob/main/README.md",
  "contIntegration": [
    "https://app.codecov.io/gh/openplantpathology/hagis?branch=main",
    "https://github.com/openplantpathology/hagis/actions/workflows/test-coverage.yaml"
  ],
  "developmentStatus": "https://www.repostatus.org/#active"
}

GitHub Events

Total
  • Release event: 1
  • Push event: 27
Last Year
  • Release event: 1
  • Push event: 27

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 657
  • Total Committers: 5
  • Avg Commits per committer: 131.4
  • Development Distribution Score (DDS): 0.041
Past Year
  • Commits: 121
  • Committers: 2
  • Avg Commits per committer: 60.5
  • Development Distribution Score (DDS): 0.008
Top Committers
Name Email Commits
Adam H. Sparks a****s@g****m 630
Austin McCoy 4****y 23
Zachary Noel n****h@m****u 2
Zhian N. Kamvar z****r@g****m 1
github-actions[bot] 4****] 1
Committer Domains (Top 20 + Academic)
msu.edu: 1

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 37
  • Total pull requests: 6
  • Average time to close issues: 11 days
  • Average time to close pull requests: 13 days
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 1.14
  • Average comments per pull request: 0.33
  • Merged pull requests: 5
  • 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
  • adamhsparks (37)
Pull Request Authors
  • adamhsparks (5)
  • jarioksa (2)
  • zkamvar (1)
Top Labels
Issue Labels
enhancement (9) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 312 last-month
  • Total docker downloads: 21,613
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 12
  • Total maintainers: 1
cran.r-project.org: hagis

Analysis of Plant Pathogen Pathotype Complexities, Distributions and Diversity

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 312 Last month
  • Docker Downloads: 21,613
Rankings
Forks count: 17.8%
Stargazers count: 22.5%
Average: 26.9%
Downloads: 28.8%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 3.4.0 depends
  • data.table * imports
  • ggplot2 * imports
  • pander * imports
  • stats * imports
  • utils * imports
  • ape * suggests
  • dplyr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • roxyglobals * suggests
  • testthat * suggests
  • vdiffr * suggests
  • vegan * suggests
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite