QcScaleFill-methods: QcScaleFill

Description Usage Arguments Value Examples

Description

QcScaleFill

QcScaleFill for QcConfig

Usage

1
2
3
4
QcScaleFill(object)

## S4 method for signature 'QcConfig'
QcScaleFill(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, fill = group)) +
  geom_point(size = 20, pch = 22) +
  expand_limits(x = c(0, 3)) +
  QcScaleFill(QcConfig(df$group))

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