diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9355ad4..e375fc7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -16,6 +16,7 @@ jobs: - '1.6' - '1.7' - '1.8' + - '1.9' - 'nightly' os: - ubuntu-latest diff --git a/README.md b/README.md index 9eadce7..536bca5 100644 --- a/README.md +++ b/README.md @@ -66,4 +66,4 @@ LD structure for ~66,000 SNPs in MHC region:

## References -> Kim et al., (2022). GeneticsMakie.jl: A versatile and scalable toolkit for visualizing locus-level genetic and genomic data. *Bioinformatics*, https://doi.org/10.1093/bioinformatics/btac786. +> Kim et al., (2022). GeneticsMakie.jl: A versatile and scalable toolkit for visualizing locus-level genetic and genomic data. *Bioinformatics*, https://doi.org/10.1093/bioinformatics/btac786. \ No newline at end of file diff --git a/src/plotld.jl b/src/plotld.jl index d18c884..a7e9db7 100644 --- a/src/plotld.jl +++ b/src/plotld.jl @@ -11,9 +11,9 @@ Heatmap of symmetric correlation matrix `LD` with the diagonal elements on the x """ @recipe(PlotLD, LD) do scene Attributes( - threshold = 1 / 9, - colormap = cgrad(:Blues_9, 9, categorical = true), - colorrange = (0, 1), + threshold = 1 / 9, + colormap = cgrad(:Blues_9, 9, categorical = true), + colorrange = (0, 1), strokewidth = 0 ) end @@ -25,7 +25,7 @@ function Makie.plot!(plot::PlotLD{<:Tuple{<:AbstractMatrix}}) m = count(>(threshold), LD) addx1 = [0, 1, 0, 1] addx2 = [1, 1, 0, 1] - addy = [0, -1, 0, 1] + addy = [0, -1, 0, 1] polys = Vector{Polygon}(undef, Int((m - n) / 2 + n)) LDvech = Vector{Float32}(undef, Int((m - n) / 2 + n)) counter = 1