From 1bebaf37e2e27f05b753a3590ccff65b559509f8 Mon Sep 17 00:00:00 2001 From: LouisLeNezet Date: Sat, 5 Oct 2024 19:08:23 +0200 Subject: [PATCH] Fix documentation --- R/app_ped_avaf_infos.R | 2 +- R/app_plot_legend.R | 1 + R/app_plot_ped.R | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/R/app_ped_avaf_infos.R b/R/app_ped_avaf_infos.R index 4555c86..bf4c399 100644 --- a/R/app_ped_avaf_infos.R +++ b/R/app_ped_avaf_infos.R @@ -85,7 +85,7 @@ family_infos_table <- function(pedi, col_val = NA) { } -#' @rdname family_sel +#' @rdname ped_avaf_infos #' @importFrom shiny NS column uiOutput textOutput #' @importFrom DT dataTableOutput ped_avaf_infos_ui <- function(id, height = "auto") { diff --git a/R/app_plot_legend.R b/R/app_plot_legend.R index fb5ac04..c53e3db 100644 --- a/R/app_plot_legend.R +++ b/R/app_plot_legend.R @@ -19,6 +19,7 @@ plot_legend_ui <- function(id, height = "200px") { #' #' @param id A string. #' @param pedi A reactive pedigree object. +#' @inheritParams plot_legend #' @returns A static UI with the legend. #' @examples #' if (interactive()) { diff --git a/R/app_plot_ped.R b/R/app_plot_ped.R index 6a7ebcc..effa63b 100644 --- a/R/app_plot_ped.R +++ b/R/app_plot_ped.R @@ -30,6 +30,7 @@ plot_ped_ui <- function(id) { #' @param title A string to name the plot. #' @param precision An integer to set the precision of the plot. #' @param max_ind An integer to set the maximum number of individuals to plot. +#' @inheritParams plot_pedigree #' @returns A reactive ggplot or the pedigree object. #' @examples #' if (interactive()) {