Skip to content
Snippets Groups Projects
Commit 12a30c3d authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

fixed index starting at 0 in qqplot

parent 67b4c143
No related branches found
No related tags found
1 merge request!77fixed index starting at 0 in qqplot
......@@ -263,7 +263,7 @@ def create_qq_plot(work_file_path: str, qq_plot_path: str):
"Univariate q-value" : qvalue_univ.sort_values().values,
})
QQ_pval = QQ_pval.iloc[::20,].dropna()
exp_val = np.flip(- np.log10(QQ_pval.index.values / QQ_pval.index.max()))
exp_val = np.flip(- np.log10((QQ_pval.index.values+1) / (QQ_pval.index.max()+1)))
exp_val[-1] = QQ_pval.max().max()
QQ_pval.index = exp_val
......
......@@ -24,7 +24,6 @@ class JassTestCase(unittest.TestCase):
os.path.dirname(os.path.abspath(__file__)), cls.test_folder, test_file_name
)
class JassWebClientTestCase(JassTestCase):
def setUp(self) -> None:
from jass.config import config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment