Skip to contents

Colors for the JaBbA copy number states, from homozygous deletion in dark blue to amplification in dark red, with neutral in gray. Use the fill scale with geom_copy_number() or with geom_bed_track() to show states across many samples.

Usage

scale_colour_cn_state(name = "CN State", ...)

scale_fill_cn_state(name = "CN State", ...)

Arguments

name

Legend title, default: "CN State"

...

Other arguments passed to ggplot2::scale_colour_manual() or ggplot2::scale_fill_manual(), e.g. values to change colors.

Value

ggplot2 scale