diff --git a/R/pathwayRes-class.R b/R/pathwayRes-class.R index 4e057abee59cd0b05570158a4559436df7def0ae..f0264458ab8ff46ba3370cb8d2db600ae0188f0d 100644 --- a/R/pathwayRes-class.R +++ b/R/pathwayRes-class.R @@ -52,8 +52,8 @@ print.pathwayRes <- function(x, ...) { #' @importFrom factoextra fviz_pca_ind fviz_eig fviz_pca_var #' @examples #' plot(out_test) -#' plot(out_test, "mmu00052", plot = "var") -#' plot(out_test, "mmu00052", plot = "ind", habillage = "Age") +#' plot(out_test, pathway_id = "mmu00052", plot = "var") +#' plot(out_test, pathway_id = "mmu00052", plot = "ind", habillage = "Age") #' @exportS3Method plot.pathwayRes <- function(x, ..., pathway_id = NULL, plot = c("eig", "var", "ind"), habillage = "none") { diff --git a/man/pathwayRes.Rd b/man/pathwayRes.Rd index abab236c1260be36a3da8896336e33262b69e27b..b57c12868d606c23b260a020e539cb7ce4eafdd7 100644 --- a/man/pathwayRes.Rd +++ b/man/pathwayRes.Rd @@ -79,8 +79,8 @@ out_test <- test_pathway(quantif, design, pathways, summary(out_test) print(out_test) plot(out_test) -plot(out_test, "mmu00052", plot = "var") -plot(out_test, "mmu00052", plot = "ind", habillage = "Age") +plot(out_test, pathway_id = "mmu00052", plot = "var") +plot(out_test, pathway_id = "mmu00052", plot = "ind", habillage = "Age") head(out_test) extract(out_test, "mmu00562") adj_pval <- adjust_pval(out_test)