ggseqlogo | R Documentation |
Generate a ggplot object of sequence logos from the DNA frequency matrices.
ggseqlogo(M, is.scale = FALSE, A_col = "#00BA38", C_col = "#619CFF",
G_col = "#B79F00", T_col = "#F8766D")
M |
The DNA frequency matrices (4 * sequence lengths matrices). |
is.scale |
whether heights are scaled according to information contents or not. |
A_col |
The color for the "A" character. |
C_col |
The color for the "C" character. |
G_col |
The color for the "G" character. |
T_col |
The color for the "T" character. |
a ggplot object of sequence logos
ggseqlogo(matrix(rgamma(20, 1, 10), 4, 5), is.scale = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.