seqLogo: Draw sequence logo

Description Usage Arguments Value Author(s) Examples

Description

Draws the classic sequence logo.

Usage

1
2
3
(pwm, sparse = FALSE, drawLines = 0.5,
  stackHeight = informationContent, baseDistribution = probabilities,
  alphabet = DNA, main = NULL)

Arguments

pwm

representation of a position weight matrix (PWM) of type pwm, data.frame, or matrix

sparse

if TRUE margins are reduced and tickmarks are removed from the logo

drawLines

distance between background lines

stackHeight

function for the height of a stack at position i

baseDistribution

function for the heights of the individual bases

alphabet

of type Alphabet

main

the main title for the plot

Value

none (draws sequence logo)

Author(s)

Martin Nettling

Examples

1
2
3
4
5
6
motif_folder= "extdata/pwm"
motif_name = "HepG2"
fileName = paste(motif_folder,"/",motif_name,".pwm",sep="")
file = system.file(fileName, package = "DiffLogo")
motif = getPwmFromPwmFile(file)
(pwm = motif)

mgledi/DiffLogo documentation built on June 7, 2020, 8:23 a.m.