diffLogoTable {DiffLogo}R Documentation

Draw DiffLogo-table

Description

Draws a table of DiffLogos.

Usage

diffLogoTable(PWMs, sampleSizes = NULL, alphabet = DNA,
  configuration = list(), ...)

Arguments

PWMs

a list/vector of position weight matrices (PWMs) each of type pwm, data.frame, or matrix

sampleSizes

the number of sequences behind each PWM

alphabet

the alphabet of the given PWMs

configuration

list of (probably part of) of configuration options. See diffLogoTableConfiguration.

...

set of parameters passed to the function 'axis' for plotting

Value

none (draws table of difference logos)

Author(s)

Martin Nettling

Examples

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)
}

diffLogoTable(motifs)

[Package DiffLogo version 2.18.0 Index]