You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by juferban September 21, 2024
Hi,
I tried to add clinicalFeatures to my oncoplot that are continuous variables. While I manage to do it, I cannot figure out how to change the color scheme. I tried using the numericAnnoCol and assign a different scheme name but none of the approaches I tried seem to affect the color shceme used
I tried using a list that has a key = value pair where the key is the name of the clinicalFeature and the value is the name of the color scheme to use. I tried different ways to add the color scheme name, like using the name it self or returning the rColorBrewer scheme object.
The only way I managed to use the colors I want was by precomputing the colors and adding my precomputed clinicalFeature_color column as my clinical Feature. This approach work fine with the exception that the legend now interpret the data as discrete.
Any suggestion on how to apply my desired color scheme to the clinicalFeature when they values are numeric?
The annotationColor variable works fine for the discrete variables.
Thanks
The text was updated successfully, but these errors were encountered:
Discussed in #1051
Originally posted by juferban September 21, 2024
Hi,
I tried to add clinicalFeatures to my oncoplot that are continuous variables. While I manage to do it, I cannot figure out how to change the color scheme. I tried using the numericAnnoCol and assign a different scheme name but none of the approaches I tried seem to affect the color shceme used
I tried using a list that has a key = value pair where the key is the name of the clinicalFeature and the value is the name of the color scheme to use. I tried different ways to add the color scheme name, like using the name it self or returning the rColorBrewer scheme object.
The only way I managed to use the colors I want was by precomputing the colors and adding my precomputed clinicalFeature_color column as my clinical Feature. This approach work fine with the exception that the legend now interpret the data as discrete.
Any suggestion on how to apply my desired color scheme to the clinicalFeature when they values are numeric?
The annotationColor variable works fine for the discrete variables.
Thanks
The text was updated successfully, but these errors were encountered: