From baa1b74a21c5d25d0b4f3253c00069281f43fcfb Mon Sep 17 00:00:00 2001 From: Laurent Gatto Date: Wed, 8 May 2024 22:55:25 +0200 Subject: [PATCH] import reshape2::melt --- DESCRIPTION | 5 +++-- NAMESPACE | 1 + NEWS.md | 5 +++++ R/QFeatures-class.R | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index caa13fbe..d1c34a8e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: QFeatures Title: Quantitative features for mass spectrometry data -Version: 1.15.0 +Version: 1.15.1 Authors@R: c(person("Laurent", "Gatto", email = "laurent.gatto@uclouvain.be", comment = c(ORCID = "0000-0002-1520-2268"), @@ -33,7 +33,8 @@ Imports: grDevices, plotly, tidyr, - tidyselect + tidyselect, + reshape2 Suggests: SingleCellExperiment, MsDataHub (>= 1.3.3), diff --git a/NAMESPACE b/NAMESPACE index 2b2cecf0..88593aab 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -91,6 +91,7 @@ importFrom(methods,is) importFrom(methods,new) importFrom(methods,slot) importFrom(methods,validObject) +importFrom(reshape2,melt) importFrom(stats,heatmap) importFrom(tidyr,pivot_wider) importFrom(tidyselect,all_of) diff --git a/NEWS.md b/NEWS.md index c80351e6..9085327c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,10 @@ # QFeatures 1.15 +## QFeatures 1.15.1 + +- Import `reshape2::melt`, required for + `MultiAssayExperiment::longFormat()`. + ## QFeatures 1.15.0 - New Bioc devel diff --git a/R/QFeatures-class.R b/R/QFeatures-class.R index c39c177b..d92db51c 100644 --- a/R/QFeatures-class.R +++ b/R/QFeatures-class.R @@ -798,6 +798,7 @@ setReplaceMethod("names", c("QFeatures", "character"), ##' (default `1L`) ##' ##' @importFrom MultiAssayExperiment longFormat +##' @importFrom reshape2 melt ##' ##' @export longFormat <- function(object,