Skip to content

Commit

Permalink
deltamplot threshold no longer relative to size
Browse files Browse the repository at this point in the history
  • Loading branch information
alaguillog committed Nov 26, 2024
1 parent a127ab2 commit 779742b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def makeAblines(texp, minv, assign, ions, min_match):

def deltaPlot(parcialdm, parcial, ppmfinal):
deltamplot = pd.DataFrame(np.array([parcialdm, parcial, ppmfinal]).max(0)) # Parallel maxima
deltamplot = deltamplot[(deltamplot > 0).sum(axis=1) >= 0.01*deltamplot.shape[1]]
deltamplot = deltamplot[(deltamplot > 0).sum(axis=1) > 0]
if deltamplot.empty:
deltamplot = parcial
#deltamplot.reset_index(inplace=True, drop=True)
Expand Down

0 comments on commit 779742b

Please sign in to comment.