plot_motifs: Plot filter motifs.

Description Usage Arguments Value Author(s)

Description

Plot first-layer convolutional filter motifs.

Usage

1
2
plot_motifs(W_conv, ylow = 0, yhigh = 2, method = "custom",
  plotheight = NULL, fl)

Arguments

W_conv

Either a list of motifs as IGMs, or a single IGM to visualize as sequence logos.

ylow

Minimum Y-axis limit.

yhigh

Maximum Y-axis limit.

method

Y-label calculation type for sequence logo plot. Either 'custom' or 'bits'.

plotheight

Height in inches for output plot.

fl

Filename to save plots to. If not provided, a plot object will be returned.

Value

A ggplot object.

Author(s)

Matthew Ploenzke, ploenzke@g.harvard.edu


mPloenzke/learnMotifs documentation built on May 27, 2019, 11:55 a.m.