Skip to content

Commit 5f7e544

Browse files
committed
fix(FixedLabellingOfTrait1AndTrait2.ColorsWereReversedInLegend.):
1 parent b839417 commit 5f7e544

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "VariantVisualization"
22
uuid = "7f8bf45c-0ad5-53b5-97e6-33c1305e0aa4"
33
authors = ["George Tollefson <gatollefson@gmail.com>"]
4-
version = "0.4.1"
4+
version = "0.4.2"
55

66
[deps]
77
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"

src/plot_utils.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ function genotype_heatmap_with_groups(input::Array{Int64,2},title::String,chrom_
120120
transpose=true,
121121

122122
colorscale = [
123-
[0, "rgb(208, 211, 212)"], #light grey
124-
[0.2, "rgb(151, 154, 154)"], #dark grey
123+
[0, "rgb(151, 154, 154)"], #dark grey
124+
[0.2, "rgb(208, 211, 212)"], #light grey
125125
[0.4, "rgb(255,255,255)"], #white
126126
#[0.4, "rgb(56,25,90)"], #dark blue
127127
[0.6, "rgb(51,106,145)"], #blue
@@ -351,8 +351,8 @@ function dp_heatmap2_with_groups(input::Array{Int64,2},title::String,chrom_label
351351
transpose=true,
352352

353353
colorscale = [
354-
[0, "rgb(208, 211, 212)"], #light grey
355-
[0.125, "rgb(151, 154, 154)"], #dark grey
354+
[0, "rgb(151, 154, 154)"], #dark grey
355+
[0.125, "rgb(208, 211, 212)"], #light grey
356356
[0.25, "rgb(255, 255, 255)"],
357357
[0.4, "rgb(153,231,255)"],
358358
[0.5, "rgb(79,146,255)"],

0 commit comments

Comments
 (0)