QcScaleColor-methods: QcScaleColor

Description Usage Arguments Value Examples

Description

QcScaleColor

QcScaleColor for QcConfig

Usage

1
2
3
4
QcScaleColor(object)

## S4 method for signature 'QcConfig'
QcScaleColor(object)

Arguments

object

a QcConfig object

Value

a ggplot2 scale_fill_manual

Examples

1
2
3
4
5
6
7
8
df = data.frame(group = c("A", "B"))
df$x = 1:2
df$y = 1
library(ggplot2)
ggplot(df, aes(x = x, y = y, color = group)) +
  geom_point(size = 20) +
  expand_limits(x = c(0, 3)) +
  QcScaleColor(QcConfig(df$group))

jrboyd/seqqc documentation built on March 20, 2021, 2:04 p.m.