Skip to content

Commit

Permalink
Tidy up @return text in fn documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed May 16, 2024
1 parent aeb6226 commit da2ecb6
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 13 deletions.
3 changes: 1 addition & 2 deletions R/calculate_complexities.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
#'
#' summary(complexities)
#'
#' @return `calculate_complexities` returns an object of class
#' `hagis.complexities`.
#' @return An object of class `hagis.complexities`.
#'
#' An object of class `hagis.complexities` is a `list` containing the following
#' components
Expand Down
4 changes: 3 additions & 1 deletion R/calculate_diversities.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
#' diversities
#'
#' @export calculate_diversities
#' @return hagis.diversities object containing
#' @return a `hagis.diversities` object.
#'
#' A `hagis.diversities` object is a `list` containing:
#' * Number of Samples
#' * Number of Pathotypes
#' * Simple Diversity Index
Expand Down
3 changes: 1 addition & 2 deletions R/create_binary_matrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
#' perc_susc = "perc.susc")
#' final_matrix
#'
#' @return `create_binary_matrix` returns a binary matrix of pathotype data as
#' a [matrix] object
#' @return a binary matrix of pathotype data
#'
#' @export create_binary_matrix
#'
Expand Down
3 changes: 2 additions & 1 deletion R/summarize_gene.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
#' perc_susc = "perc.susc")
#' susc
#'
#' @return returns an object of [class] `hagis.gene.summary`
#' @return a `hagis.gene.summary` object.
#'
#' An object of class `hagis.gene.summary` is a\cr [data.table::data.table()]
#' containing the following components columns
#' \describe{
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"applicationCategory": "Tools",
"isPartOf": "https://openplantpathology.org",
"keywords": ["plant-pathology", "pathotype", "pathogen-survey", "virulenceanalysis", "differentialset", "assessmentscale", "plant-disease", "pathotype-complexities", "population-diversities"],
"fileSize": "295.82KB",
"fileSize": "295.707KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
3 changes: 1 addition & 2 deletions man/calculate_complexities.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/calculate_diversities.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions man/create_binary_matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/summarize_gene.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da2ecb6

Please sign in to comment.