Skip to content

Commit

Permalink
Error correction in filterPanelGenes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymiller authored Jan 22, 2020
1 parent 1e31362 commit 0bb2494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/markerGenesAndMapping.r
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ filterPanelGenes <- function(summaryExpr,
message(paste(sum(keepGenes),"total genes pass constraints prior to binary score calculation."))
if(sum(keepGenes)<=numBinaryGenes){
warning("Fewer genes pass constraints than numBinaryGenes, so binary score was not calculated.")
return(sort(union(runGenes,startingGenes)))
return(sort(union(keepGenes,startingGenes)))
}

topBeta <- getBetaScore(propExpr[keepGenes,onClusters],FALSE)
Expand Down

0 comments on commit 0bb2494

Please sign in to comment.