diff options
author | zsloan | 2020-10-21 15:36:42 -0500 |
---|---|---|
committer | zsloan | 2020-10-21 15:36:42 -0500 |
commit | 09a80c440daeda7f33cb1930cbff964a012bf5b6 (patch) | |
tree | a300d64e9cc57b4bc98dc2a32d5b4a770247ae0b /wqflask | |
parent | d62aba83dc8556676355d7647b0244bd18b505d8 (diff) | |
download | genenetwork2-09a80c440daeda7f33cb1930cbff964a012bf5b6.tar.gz |
Ensured all Y axis ticks in the mapping figure are below the top of the figure, but it would probably be ideal to scale things such that the top tick is at the top of the figure
* wqflask/wqflask/marker_regression/display_mapping_results.py - Set LRS_LOD_Max (the top tick value) as the maximum value between the significant value (if permutations are used) and the max LRS/LOD value; previously it would set it as the significant value * 1.1 if the significant value exists and is higher than the max LRS/LOD value.
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index 79266df2..a74f87bd 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2074,9 +2074,7 @@ class DisplayMappingResults(object): pass if self.permChecked and self.nperm > 0 and not self.multipleInterval: - if self.significant > LRS_LOD_Max: - LRS_LOD_Max = self.significant * 1.1 - #LRS_LOD_Max = max(self.significant, LRS_LOD_Max) + LRS_LOD_Max = max(self.significant, LRS_LOD_Max) else: LRS_LOD_Max = 1.15*LRS_LOD_Max |