Skip to content

Commit

Permalink
Put unused function in edgeR at the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpaul85 committed Feb 26, 2025
1 parent 68bb3fa commit 87c8d87
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions server/utils/edge.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@ filter_genes_by_global_variance <- function(read_counts, gene_id_symbols, num_va
return(list(read_counts = read_counts, gene_id_symbols = gene_id_symbols))
}

# Will implement this later
filter_genes_by_group_variance <- function(read_counts, gene_id_symbols, num_variable_genes, cases, controls) {
# Divide the read counts into two groups
case_read_counts <- read_counts[, cases]
control_read_counts <- read_counts[, controls]
}

# Read JSON input from stdin
read_json_time <- system.time({
con <- file("stdin", "r")
Expand Down Expand Up @@ -206,3 +199,11 @@ multiple_testing_correction_time <- system.time({

# Output results
toJSON(output)

#-----------------------------------#
# Will implement this later
filter_genes_by_group_variance <- function(read_counts, gene_id_symbols, num_variable_genes, cases, controls) {
# Divide the read counts into two groups
case_read_counts <- read_counts[, cases]
control_read_counts <- read_counts[, controls]
}

0 comments on commit 87c8d87

Please # to comment.