Skip to content

Commit

Permalink
Julia 1.9 for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkim1210 committed Oct 26, 2023
1 parent 6c57048 commit e22ccd8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- '1.6'
- '1.7'
- '1.8'
- '1.9'
- 'nightly'
os:
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ LD structure for ~66,000 SNPs in MHC region:
<p align="center"><img width="60%" style="border-radius: 5px;" src="figs/MHC-LD-square.png"></p>

## 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.
8 changes: 4 additions & 4 deletions src/plotld.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e22ccd8

Please sign in to comment.