Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
airenzp committed Oct 7, 2024
1 parent 5b60add commit 3addfb9
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions client/plots/gsea.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,24 +196,9 @@ add:
{ value: pathway.leading_edge }
])
} else if (self.settings.adjusted_original_pvalue == 'original' && self.settings.pvalue >= pathway.pval) {
let pval
if (pathway.pval) {
pval = roundValueAuto(pathway.pval)
} else {
pval = pathway.pval
}
let sidak
if (pathway.sidak) {
sidak = roundValueAuto(pathway.sidak)
} else {
sidak = pathway.sidak
}
let fdr
if (pathway.fdr) {
fdr = roundValueAuto(pathway.fdr)
} else {
fdr = pathway.fdr
}
const pval = roundValueAuto(pathway.pval)
const sidak = roundValueAuto(pathway.sidak)
const fdr = roundValueAuto(pathway.fdr)
self.gsea_table_rows.push([
{ value: pathway_name },
{ value: roundValueAuto(pathway.es) },
Expand Down

0 comments on commit 3addfb9

Please sign in to comment.