Skip to content

Commit

Permalink
Show confounding factors only when edgeR is selected as the method
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpaul85 committed Jan 6, 2025
1 parent e397b9b commit b702e9b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions client/plots/DEanalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,27 +120,27 @@ class DEanalysis {
output.mid_sample_size_cutoff < output.sample_size1 &&
output.sample_size1 < output.high_sample_size_cutoff)
) {
inputs.push(
{
label: 'Method',
type: 'radio',
chartType: 'DEanalysis',
settingsKey: 'method',
title: 'Toggle between edgeR and wilcoxon test',
options: [
{ label: 'edgeR', value: 'edgeR' },
{ label: 'wilcoxon', value: 'wilcoxon' }
]
},
{
inputs.push({
label: 'Method',
type: 'radio',
chartType: 'DEanalysis',
settingsKey: 'method',
title: 'Toggle between edgeR and wilcoxon test',
options: [
{ label: 'edgeR', value: 'edgeR' },
{ label: 'wilcoxon', value: 'wilcoxon' }
]
})
if (this.settings.method == 'edgeR') {
inputs.push({
type: 'term',
configKey: 'term',
chartType: 'DEanalysis',
usecase: { target: 'DEanalysis', detail: 'term' },
label: 'Confounding factors',
vocabApi: this.app.vocabApi
}
)
})
}
}

if (this.app.opts.genome.termdbs) {
Expand Down

0 comments on commit b702e9b

Please sign in to comment.