Skip to content

Commit

Permalink
Added -m pvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
nromashchenko committed Oct 20, 2024
1 parent f3d3b62 commit b07b29a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion omamer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_thread_count():
"-m",
"--method",
default="normcount",
choices=["normcount", "zscore", "rawcount"],
choices=["normcount", "zscore", "rawcount", "pvalue"],
help="Scoring scheme used to select family.",
)
search_parser.add_argument(
Expand Down
2 changes: 2 additions & 0 deletions omamer/merge_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,8 @@ def func(
)
elif method == "rawcount":
qres["normcount"][:] = qres["count"]
elif method == "pvalue":
qres["normcount"][:] = qres["pvalue"]
else:
return

Expand Down

0 comments on commit b07b29a

Please sign in to comment.