diff --git a/DESCRIPTION b/DESCRIPTION index 9b6dac8..1237f01 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -41,7 +41,7 @@ Imports: MsCoreUtils, msigdbr, plotly, - QFeatures, + QFeatures (>= 1.14.0), readr, rlang, rmarkdown, diff --git a/R/importDIANN.R b/R/importDIANN.R index b91cb5c..c515ffa 100644 --- a/R/importDIANN.R +++ b/R/importDIANN.R @@ -72,7 +72,7 @@ importDIANN <- function(inFile, fileType = "pg_matrix", outLevel = "pg", stopIfEmpty = stopIfEmpty) sce <- QFeatures::readSummarizedExperiment( - inFile, ecol = iCols, sep = "\t", check.names = FALSE, ... + inFile, quantCols = iCols, sep = "\t", check.names = FALSE, ... ) SummarizedExperiment::assayNames(sce) <- aName diff --git a/R/importExperiment.R b/R/importExperiment.R index b47f5ca..22a1403 100644 --- a/R/importExperiment.R +++ b/R/importExperiment.R @@ -294,7 +294,7 @@ importExperiment <- function(inFile, iColPattern, includeOnlySamples = "", if (length(icols) > 0) { se <- QFeatures::readSummarizedExperiment( - inFile, ecol = icols, sep = "\t", ... + inFile, quantCols = icols, sep = "\t", ... ) ## Add list of columns to metadata S4Vectors::metadata(se)$cols <- icols