From 0fa499a260478f135ba66b4e5cef37f9a53619bd Mon Sep 17 00:00:00 2001 From: Tuomas Borman <60338854+TuomasBorman@users.noreply.github.com> Date: Tue, 5 Mar 2024 16:26:31 +0200 Subject: [PATCH] up (#109) --- DESCRIPTION | 2 +- R/plotPrevalence.R | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 0aea6368..f1fcb2e2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: miaViz Title: Microbiome Analysis Plotting and Visualization -Version: 1.11.1 +Version: 1.11.2 Authors@R: c(person(given = "Tuomas", family = "Borman", role = c("aut", "cre"), email = "tuomas.v.borman@utu.fi", diff --git a/R/plotPrevalence.R b/R/plotPrevalence.R index 2400196c..a67ea4b3 100644 --- a/R/plotPrevalence.R +++ b/R/plotPrevalence.R @@ -239,8 +239,8 @@ setMethod("plotPrevalentAbundance", signature = c(x = "SummarizedExperiment"), stop("'facet_by' must be in taxonomyRanks.", call. = FALSE) } - x <- mia:::.agg_for_prevalence(x, rank, na.rm = TRUE, relabel = TRUE, - ...) + x <- mia:::.agg_for_prevalence( + x, rank, agg.na.rm = TRUE, relabel = TRUE, ...) label <- .norm_label(label, x) # plot_data <- .get_prevalence_plot_point_data(x, assay.type, @@ -559,4 +559,4 @@ setMethod("plotTaxaPrevalence", signature = c(x = "ANY"), .Deprecated(old ="plotTaxaPrevalence", new = "plotFeaturePrevalence", msg = "The 'plotTaxaPrevalence' function is deprecated. Use 'plotFeaturePrevalence' instead.") plotFeaturePrevalence(x, ...) } -) \ No newline at end of file +)