Skip to content

Commit 7e994d1

Browse files
committed
fix(fixedColorcodingOfTraitLegendsInGroupedHeatmaps):
1 parent 80e5897 commit 7e994d1

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ macOS ( Sierra, High Sierra, and Mojave ), Windows (7 and 10), and Linux.
2525

2626
### Step 1: Install Julia
2727

28-
1. Download [Julia v1.0.4]("https://julialang.org/downloads/") and install the language following the [platform specific instructions](https://julialang.org/downloads/platform.html).
28+
1. Download [Julia]("https://julialang.org/downloads/") and install the language following the [platform specific instructions](https://julialang.org/downloads/platform.html).
2929

3030
2. Then, follow add Julia to the path variable to run VIVA.
3131

@@ -35,7 +35,9 @@ Add the path to the Julia binaries (C:\Program Files\Julia\bin) to the PATH foll
3535

3636
To add Julia to the PATH on Mac run the following line in the Terminal:
3737

38-
> sudo ln -s /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
38+
> sudo ln -s /Applications/Julia-1.2.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
39+
40+
Be sure to replace "/Applications/Julia-1.2.app/..." to reflect the version of Julia you've downloaded.
3941

4042

4143
*Linux Note*: To run on remote compute clusters, you may need to load the opengl and julia modules.

docs/src/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ macOS ( Sierra, High Sierra, and Mojave ), Windows (7 and 10), and Linux.
66

77
### Step 1: Install Julia
88

9-
1. Download [Julia v1.0.4]("https://julialang.org/downloads/") and install the language following the [platform specific instructions](https://julialang.org/downloads/platform.html).
9+
1. Download [Julia]("https://julialang.org/downloads/") and install the language following the [platform specific instructions](https://julialang.org/downloads/platform.html).
1010

1111
2. Then, follow add Julia to the path variable to run VIVA.
1212

@@ -16,9 +16,9 @@ Add the path to the Julia binaries (C:\Program Files\Julia\bin) to the PATH foll
1616

1717
To add Julia to the PATH on Mac run the following line in the Terminal:
1818

19-
> sudo ln -s /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
19+
> sudo ln -s /Applications/Julia-1.2.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
2020
21-
Be sure to replace "/Applications/Julia-1.1.app/..." to reflect the version of Julia you've downloaded.
21+
Be sure to replace "/Applications/Julia-1.2.app/..." to reflect the version of Julia you've downloaded.
2222

2323

2424
*Linux Note*: To run on remote compute clusters, you may need to load the opengl and julia modules.

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(151, 154, 154)"], #dark grey
124-
[0.2, "rgb(208, 211, 212)"], #light grey
123+
[0, "rgb(208, 211, 212)"], #light grey
124+
[0.2, "rgb(151, 154, 154)"], #dark 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
@@ -352,8 +352,8 @@ function dp_heatmap2_with_groups(input::Array{Int64,2},title::String,chrom_label
352352
transpose=true,
353353

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

viva

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ println()
66
println("Loading dependency packages:")
77
println()
88

9-
using VariantVisualization
9+
#using VariantVisualization
1010
println("...")
1111

1212
using Pkg
13+
Pkg.activate(@__DIR__)
14+
using VariantVisualization
15+
16+
1317
try
1418
using GeneticVariation
1519
catch

0 commit comments

Comments
 (0)