Description Usage Arguments Value Author(s) Examples
Draws the difference of two sequence logos.
1 2 |
diffLogoObj |
a DiffLogoObject created by the function createDiffLogoObject |
ymin |
minimum value on the y-axis |
ymax |
maximum value on the y-axis |
sparse |
if TRUE margins are reduced and tickmarks are removed from the logo |
diffLogoConfiguration |
list of configuration parameters (see function diffLogoTableConfiguration(...)) |
none (draws difference logo)
Martin Nettling
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | motif_folder= "extdata/pwm"
motif_names = c("HepG2","MCF7","HUVEC","ProgFib")
motifs = list()
for (name in motif_names) {
fileName = paste(motif_folder,"/",name,".pwm",sep="")
file = system.file(fileName, package = "DiffLogo")
motifs[[name]] = getPwmFromPwmFile(file)
}
pwm1 = motifs[[motif_names[[1]]]]
pwm2 = motifs[[motif_names[[2]]]]
diffLogoObj = createDiffLogoObject(pwm1 = pwm1, pwm2 = pwm2)
diffLogo(diffLogoObj)
|
Loading required package: cba
Loading required package: grid
Loading required package: proxy
Attaching package: ‘proxy’
The following objects are masked from ‘package:stats’:
as.dist, dist
The following object is masked from ‘package:base’:
as.matrix
[1] "pwm must be of class matrix or data.frame. Trying to convert"
[1] "pwm must be of class matrix or data.frame. Trying to convert"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.