geom_seed | R Documentation |
Highlighting the seed in miRNA sequences
geom_seed(seed, star = FALSE)
seed |
a character string.Specifying the miRNA seed sequence like 'GAGGUAG'. |
star |
a logical value indicating whether asterisks should be displayed. |
a ggplot layer
Lang Zhou
miRNA_sequences <- system.file("extdata/seedSample.fa", package="ggmsa")
ggmsa(miRNA_sequences, font = 'DroidSansMono',
color = "Chemistry_NT", none_bg = TRUE) +
geom_seed(seed = "GAGGUAG", star = FALSE)
ggmsa(miRNA_sequences, font = 'DroidSansMono',
color = "Chemistry_NT") +
geom_seed(seed = "GAGGUAG", star = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.