morinlab / GAMBLR

Set of standardized functions to operate with genomic data
https://morinlab.github.io/GAMBLR/
MIT License
3 stars 2 forks source link

ashm_multi_rainbow_plot colour issue #76

Closed rdmorin closed 2 years ago

rdmorin commented 2 years ago

The lymphgen colouring example shown in the vignette using ashm_multi_rainbow_plot shows every point in grey. No errors are thrown. The points should be coloured as per the legend, which is actually coloured properly, interestingly.

lymphgen_colours = get_gambl_colours(classification = "lymphgen")

# This package comes with some custom (curated) data such as the regions recurrently affected by hypermutation in B-NHLs
ashm_multi_rainbow_plot(regions_to_display = c("BCL2-TSS", "MYC-TSS", "SGK1-TSS", "IGL"), custom_colours = lymphgen_colours)
Kdreval commented 2 years ago

This was caused by converting a factor column into a factor. It is addressed in #73 ✅