From e5299cc895277e70b8768ee85f55e21227e2884c Mon Sep 17 00:00:00 2001 From: noriakis Date: Fri, 10 Nov 2023 15:23:10 +0900 Subject: [PATCH] getter functions NAMESPACE --- NAMESPACE | 2 ++ R/module_functions.R | 1 + R/network_functions.R | 1 + 3 files changed, 4 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index ba2fa64..30c1c7e 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -19,6 +19,8 @@ export(geom_kegg) export(geom_node_rect) export(geom_node_rect_kegg) export(geom_node_shadowtext) +export(get_module_attribute) +export(get_network_attribute) export(ggkegg) export(ggplot_add.geom_kegg) export(ggplot_add.geom_node_rect_kegg) diff --git a/R/module_functions.R b/R/module_functions.R index a939330..495121f 100644 --- a/R/module_functions.R +++ b/R/module_functions.R @@ -28,6 +28,7 @@ setMethod("show", } ) +#' @export setGeneric("get_module_attribute", function(x, ...) standardGeneric("get_module_attribute")) diff --git a/R/network_functions.R b/R/network_functions.R index 05d9284..d1c414b 100644 --- a/R/network_functions.R +++ b/R/network_functions.R @@ -22,6 +22,7 @@ setMethod("show", } ) +#' @export setGeneric("get_network_attribute", function(x, ...) standardGeneric("get_network_attribute"))