@@ -348,13 +348,13 @@ setMethod("mergeReplicates", "ANY",
348348# ' @export
349349setGeneric(
350350 " longFormat" ,
351- function (object , colDataCols = NULL , i = 1L , ... )
351+ function (object , i = 1L , ... )
352352 standardGeneric(" longFormat" )
353353)
354354
355355# ' @rdname MultiAssayExperiment-helpers
356356# ' @exportMethod longFormat
357- setMethod ("longFormat ", "ANY", function(object, colDataCols, i = 1L, ...) {
357+ setMethod ("longFormat ", "ANY", function(object, i = 1L, ...) {
358358 rowNAMES <- rownames(object )
359359 if (is.null(rowNAMES ))
360360 rowNames <- as.character(seq_len(nrow(object )))
@@ -378,7 +378,7 @@ setMethod("longFormat", "ANY", function(object, colDataCols, i = 1L, ...) {
378378# ' @exportMethod longFormat
379379setMethod(
380380 " longFormat" , " ExperimentList" ,
381- function (object , colDataCols , i = 1L , ... ) {
381+ function (object , i = 1L , ... ) {
382382 samelength <- identical(length(object ), length(i ))
383383 if (! samelength && identical(length(i ), 1L ))
384384 i <- rep(i , length(object ))
@@ -451,7 +451,7 @@ setMethod(
451451# ' @exportMethod longFormat
452452setMethod(
453453 " longFormat" , " MultiAssayExperiment" ,
454- function (object , colDataCols = NULL , i = 1L , ... ) {
454+ function (object , i = 1L , colDataCols = NULL , ... ) {
455455 if (any(.emptyAssays(experiments(object ))))
456456 object <- .dropEmpty(object , warn = FALSE )
457457
0 commit comments