Skip to content

Commit

Permalink
compare genes can be selected from the table closes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed Oct 17, 2016
1 parent c3ce212 commit 728e24f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,11 @@ shinyServer(function(input, output, session) {
nbr_barcodes <- nbr_group1 + nbr_group2

diff_genes <- differentiallyExpressed()$`Gene Symbol`
if(is.null(input$difGeneTable_rows_selected)){
gene_idx <- c(1:gene_cnt, (length(diff_genes)-gene_cnt+1):length(diff_genes))

} else{
gene_idx = input$difGeneTable_rows_selected
}
dg_mat <- c()
for ( n in gene_idx ) {
gene_idx <- which(genes$Symbol == diff_genes[n])
Expand Down

0 comments on commit 728e24f

Please sign in to comment.