ggseg / ggsegDefaultExtra

https://lcbc-uio.github.io/ggsegDefaultExtra/
Other
2 stars 0 forks source link

Changing colours on the atlas #2

Open ElijahMak opened 3 years ago

ElijahMak commented 3 years ago

Hello Athanasiamo, thank you so much for creating this fantastic tool. I am trying to visualise some t values on the atlas. The non-significant results have been masked out, hence the grey areas. I am wondering whether there is a way to change the colours? Say, if I want to change the color to a lighter shade of grey?

image

Appreciate your time and help.

drmowinckels commented 3 years ago

Hi. Yes, all ggplot2 scale functions for colour or fill should accept the na.value argument that alters the colours for NA. This is standard ggplot2