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
Currently, the group_colors.R file (which sets up group-colors.R in the docs/ folder in a project repo) does not specify defaults commonly used across VISC reports, such as gray triangles for non-responders.
The current template is:
## Group colors for {{ study_name }}
group_colors <- c(
`Group 1` = "[HEX#]",
`Group 2` = "[HEX#]",
`Group 3` = "[HEX#]",
`Group 4` = "[HEX#]"
)
# To source these group colors in your Rmarkdown report:
# source("R/group-colors.R")
# In ggplot2, you can set colors manually with:
# scale_color_manual(values = group_colors)
I think we should fill in some of these hex codes, with the default gray used for non-responders, the default color for a placebo/control group, and a couple of other default colorblind-friendly colors.
I also think we should update this to specify default shapes as well (baseline vs. non-responder vs. positive responder).
For example (using colors and shapes from G002 B-cell report):
Currently, the group_colors.R file (which sets up group-colors.R in the docs/ folder in a project repo) does not specify defaults commonly used across VISC reports, such as gray triangles for non-responders.
The current template is:
I think we should fill in some of these hex codes, with the default gray used for non-responders, the default color for a placebo/control group, and a couple of other default colorblind-friendly colors.
I also think we should update this to specify default shapes as well (baseline vs. non-responder vs. positive responder).
For example (using colors and shapes from G002 B-cell report):
The text was updated successfully, but these errors were encountered: