ggmotif_plot: ggmotif_plot

Description Usage Arguments Value Examples

View source: R/motif_plot.R

Description

ggmotif_plot

Usage

1
2
ggmotif_plot(x, y.axis = FALSE, y.lab = "Letter Frequency", x.axis = TRUE,
  x.lab = "")

Arguments

x

either a character string, a DNAString object, or a matrix

y.axis

plot a y axis? default is FALSE

y.lab

axis title for y axis, if y.axis is TRUE

x.axis

plot a x axis? default is TRUE

x.lab

title for x axis, if x.axis is TRUE

Value

ggplot with motif

Examples

1
2
3
ggmotif_plot("ACGTRWN")
ggmotif_plot(Biostrings::DNAString("ACGTRWN"))
ggmotif_plot(Biostrings::consensusMatrix("ACGTRWN"))

AliciaSchep/ggmotif documentation built on May 5, 2019, 4:54 a.m.