Description Usage Arguments Value Examples
package to help plot DNA sequence motifs on ggplots
ggmotif
1 | ggmotif(x, x.pos = 0, y.pos = 0, ht = 1, wt = 1, id = "")
|
x |
either a character string, a |
x.pos |
position on x axis for bottom left corner of motif |
y.pos |
position on y axis for bottom left corner of motif |
ht |
height of motif, default is 1 |
wt |
width of each letter of motif, default is 1 |
id |
id |
geom_polygon to be added to ggplot. this will also add an ugly
legend... to remove, use ggmotif_scale
1 | ggplot() + ggmotif("ACG",x.pos = 5,y.pos = 2) + ggmotif_scale() + ggmotif_theme()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.