Skip to content

Commit

Permalink
test influence
Browse files Browse the repository at this point in the history
  • Loading branch information
bioqxu committed Jan 22, 2020
1 parent 9877ccd commit 7298a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ananse/influence.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def read_expression(fname):
# padj=1e-300
# gscore =foldchange * (-np.log10(padj))
if padj < 0.05:
# gscore = np.log2(foldchange+1)
gscore = foldchange
gscore = np.log2(foldchange+1)
# gscore = foldchange
else:
gscore = 0
expression_change["score"][gene] = gscore
Expand Down

0 comments on commit 7298a31

Please sign in to comment.