From 1b709fd550c2abf53cc4fae84eab1b179e94b63d Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 6 Jun 2023 17:59:33 +0000 Subject: Add 1 to LRS_LOD_MAX in order to prevent situations where a tick is missing for the highest points on the manhattan plot --- wqflask/wqflask/marker_regression/display_mapping_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index f74060d2..bf89b0db 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2403,7 +2403,7 @@ class DisplayMappingResults: pass else: LRS_LOD_Max = max([result['lod_score'] - for result in self.qtlresults]) + for result in self.qtlresults]) + 1 if self.LRS_LOD == "LRS": LRS_LOD_Max = LRS_LOD_Max * self.LODFACTOR if self.permChecked and self.nperm > 0 and not self.multipleInterval: -- cgit v1.2.3