Skip to content

Commit

Permalink
explicitly set default correlation method for non-pass scatter plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed May 7, 2024
1 parent 095295e commit c3ba0f7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected void writeResults(OutputStream out, Map<String, InputStream> dataStrea
connection.voidEval("variables[[overlayVarIndex]] <- overlayVarMetadata");

String command = "plot.data::scattergl(" + DEFAULT_SINGLE_STREAM_NAME + ", variables, '" +
valueSpec + "', NULL, TRUE, TRUE, '" +
valueSpec + "', overlayValues=NULL, correlationMethod = 'none', sampleSizes=TRUE, completeCases=TRUE, '" +
deprecatedShowMissingness + "')";
RServeClient.streamResult(connection, command, out);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected void writeResults(OutputStream out, Map<String, InputStream> dataStrea

String command = "plot.data::scattergl(" + DEFAULT_SINGLE_STREAM_NAME + ", variables, '" +
valueSpec +
"', overlayValues=NULL, sampleSizes=TRUE, completeCases=TRUE, '" +
"', overlayValues=NULL, correlationMethod = 'none', sampleSizes=TRUE, completeCases=TRUE, '" +
deprecatedShowMissingness + "')";
RServeClient.streamResult(connection, command, out);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ protected void writeResults(OutputStream out, Map<String, InputStream> dataStrea
connection.voidEval(getVoidEvalComputedVariableMetadataList(metadata));
connection.voidEval("variables <- veupathUtils::merge(variables, computedVariables)");

String command = "plot.data::scattergl(" + DEFAULT_SINGLE_STREAM_NAME + ", variables, '" + valueSpec + "', NULL, TRUE, TRUE, '" + deprecatedShowMissingness + "')";
String command = "plot.data::scattergl(" + DEFAULT_SINGLE_STREAM_NAME + ", variables, '" +
valueSpec +
"', overlayValues=NULL, correlationMethod = 'none', sampleSizes=TRUE, completeCases=TRUE, '" +
deprecatedShowMissingness + "')";
RServeClient.streamResult(connection, command, out);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ protected void writeResults(OutputStream out, Map<String, InputStream> dataStrea
String cmd =
"plot.data::scattergl(data=" + inputData + ", " +
"variables=variables, " +
"value='" + valueSpec + "', " +
"value='" + valueSpec + "', " +
"correlationMethod = 'none', " +
"sampleSizes=FALSE, " +
"completeCases=FALSE, " +
"overlayValues=" + overlayValues + ", " +
Expand Down

0 comments on commit c3ba0f7

Please sign in to comment.