From c974b3bf16826f10b13a6e06d6a36cd65d6a1f37 Mon Sep 17 00:00:00 2001 From: Laurent Date: Fri, 1 Jul 2016 11:07:10 +0100 Subject: [PATCH] removed spurious subsetting in spectrapply - see issue #109 --- R/methods-OnDiskMSnExp.R | 5 ----- 1 file changed, 5 deletions(-) diff --git a/R/methods-OnDiskMSnExp.R b/R/methods-OnDiskMSnExp.R index 489bc5d3c..575aa4afa 100644 --- a/R/methods-OnDiskMSnExp.R +++ b/R/methods-OnDiskMSnExp.R @@ -312,11 +312,6 @@ setMethod("spectrapply", "OnDiskMSnExp", ## Check if we would do better with serial processing: BPPARAM <- getBpParam(object, BPPARAM = BPPARAM) - ## @lgatto: I suppose we will do the subsetting all on the object itself, thus - ## we don't need the subsetting code below, right? - ## Sub-set the feature data based on the arguments. - fd <- .subsetFeatureDataBy(fData(object), index=index, scanIdx=scanIdx, - name=name, rtlim=rtlim) isOK <- .validateFeatureDataForOnDiskMSnExp(fd) if(!is.null(isOK)) stop(isOK)