Custom discrete fill scale for ggNetView
Usage
scale_fill_ggnetview(
classes,
...,
others_label = "Others",
na_value = "#e0e0e0",
drop = FALSE
)Arguments
- classes
Character string. The discrete class names or factor levels to map to colors.
- ...
Additional arguments passed to `ggplot2::scale_color_manual()`.
- others_label
Character, (default = "Others").
- na_value
Color for missing values. Default `"#e0e0e0"`.
- drop
Logical, passed to `ggplot2::scale_color_manual()`.
