Description Usage Arguments Value Author(s) Examples
This function takes the alphabet*width position weight matrix of a sequence motif and plots the corresponding sequence logo.
1 2 |
pwm |
numeric. The alphabet*width position weight matrix. |
ic.scale |
logical. If TRUE, the height of each column is proportional to its information content. Otherwise, all columns have the same height. |
xaxis |
logical. If TRUE, an X-axis will be plotted. |
yaxis |
logical. If TRUE, a Y-axis will be plotted. |
xfontsize |
numeric. Font size to be used for the X-axis. |
yfontsize |
numeric. Font size to be used for the Y-axis. |
fill |
character. Fill color to be used for the letters. Must be a named character vector of length equal to number of rows in |
NULL.
Oliver Bembom
1 2 3 4 | mFile <- system.file("extdata/pwm1", package = "seqLogo")
m <- read.table(mFile)
p <- makePWM(m)
seqLogo(p)
|
Loading required package: grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.