Browse code

Update crossValidate.R

Ellis Patrick authored on 18/08/2022 05:07:13 • GitHub committed on 18/08/2022 05:07:13
Showing 1 changed files

... ...
@@ -99,12 +99,12 @@ setMethod("crossValidate", "DataFrame",
99 99
 
100 100
           {
101 101
               # Check that data is in the right format, if not already done for MultiAssayExperiment input.
102
-              if(is.null(mcols(measurements)$assay))
103
-              {
102
+              #if(is.null(mcols(measurements)$assay))
103
+              #{
104 104
                 splitAssay <- prepareData(measurements, outcome, ...)
105 105
                 measurements <- splitAssay[["measurements"]]
106 106
                 outcome <- splitAssay[["outcome"]]
107
-              }
107
+              #}
108 108
               
109 109
               # Which data-types or data-views are present?
110 110
               assayIDs <- unique(mcols(measurements)[, "assay"])