YMa-lab / CARD

GNU General Public License v3.0
81 stars 20 forks source link

Cannot change colours in CARD.visualize.Cor #7

Closed michaeljpitcher closed 2 years ago

michaeljpitcher commented 2 years ago

Hi,

The colours in CARD.visualize.Cor seem to be hard-coded and don't allow the user to change them. Also, the param text suggests the default colours are ("lightblue","lightyellow","red") but they seem to be red, white and green.

YingMa0107 commented 2 years ago

Hi @michaeljpitcher,

Sorry for this! I previously forgot to remove the color line when I wrapped up the function! Thank you for raising the issue! I have updated the corresponding visualization function and now you can use your own defined colors in the CARD.visualize.Cor function.

Let me know if this solves the issue or if I can help you further with this!

michaeljpitcher commented 2 years ago

That solved it, thanks.