Skip to content

Commit

Permalink
Change order of the metrics in the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
apcamargo committed Jun 2, 2019
1 parent 003e765 commit 5ff645d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ positional arguments:
input_file Expression matrix file in the TSV or CSV formats.
output_file Output TSV file containing tissue-specificity values.
method Tissue-specificity metric. Allowed values are:
"counts", "tsi", "tau", "gini", "simpson",
"shannon_specificity", "roku_specificity", "zscore",
"spm", "spm_dpm", "js_specificity",
"counts", "tau", "gini", "simpson",
"shannon_specificity", "roku_specificity", "tsi",
"zscore", "spm", "spm_dpm", "js_specificity",
"js_specificity_dpm".
optional arguments:
Expand Down
5 changes: 2 additions & 3 deletions tspex/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ def tspex_cli(input_file, output_file, method, log, disable_transformation, thre


def main():
method_choices = ['counts', 'tsi', 'tau', 'gini', 'simpson', 'shannon_specificity',
'roku_specificity', 'zscore', 'spm', 'spm_dpm', 'js_specificity',
'js_specificity_dpm']
method_choices = ['counts', 'tau', 'gini', 'simpson', 'shannon_specificity', 'roku_specificity',
'tsi', 'zscore', 'spm', 'spm_dpm', 'js_specificity', 'js_specificity_dpm']
parser = argparse.ArgumentParser(
description='Compute gene tissue-specificity from an expression matrix and save the output.',
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
Expand Down

0 comments on commit 5ff645d

Please sign in to comment.