Skip to content

Commit

Permalink
Fixed NA values for RVIS in collapsing gene summary output
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzren committed Aug 3, 2017
1 parent fcabd95 commit f6f8aaa
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,13 @@ private static void calculateRegression(String geneSampleMatrixFilePath,

public String getRvis() {
if (RvisCommand.isIncludeRvis) {
return RvisManager.getLine(name);
String geneName = name;

if (name.contains("_")) { // if using gene domain
geneName = name.substring(0, name.indexOf("_"));
}

return RvisManager.getLine(geneName);
} else {
return "";
}
Expand Down

0 comments on commit f6f8aaa

Please sign in to comment.