Skip to content

Commit

Permalink
Replace deprecated ecol argument
Browse files Browse the repository at this point in the history
  • Loading branch information
csoneson committed Jul 21, 2024
1 parent e6988c7 commit 4077dac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Imports:
MsCoreUtils,
msigdbr,
plotly,
QFeatures,
QFeatures (>= 1.14.0),
readr,
rlang,
rmarkdown,
Expand Down
2 changes: 1 addition & 1 deletion R/importDIANN.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion R/importExperiment.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4077dac

Please sign in to comment.