get rid of check that fails for semi-supervised matrices.
... | ... |
@@ -74,10 +74,11 @@ setValidity("CogapsResult", |
74 | 74 |
"NA/Inf values in feature matrix" |
75 | 75 |
if (any(is.na(object@sampleFactors)) | any(object@sampleFactors == Inf) | any(object@sampleFactors == -Inf)) |
76 | 76 |
"NA/Inf values in sample matrix" |
77 |
- if (sum(object@featureLoadings < 0) > 0 | sum(object@loadingStdDev < 0) > 0) |
|
78 |
- "negative values in feature Matrix" |
|
79 |
- if (sum(object@sampleFactors < 0) > 0 | sum(object@factorStdDev < 0) > 0) |
|
80 |
- "negative values in sample Matrix" |
|
77 |
+ # TODO: fix this check for semisupervised case |
|
78 |
+ # if (sum(object@featureLoadings < 0) > 0 | sum(object@loadingStdDev < 0) > 0) |
|
79 |
+ # "negative values in feature Matrix" |
|
80 |
+ # if (sum(object@sampleFactors < 0) > 0 | sum(object@factorStdDev < 0) > 0) |
|
81 |
+ # "negative values in sample Matrix" |
|
81 | 82 |
} |
82 | 83 |
) |
83 | 84 |
|