PWMScanHeatmap {heatmaps}R Documentation

Generate a Heatmap of PWM Scores in DNA sequnce

Description

Generate a Heatmap of PWM Scores in DNA sequnce

Usage

PWMScanHeatmap(seq, pwm, ...)

## S4 method for signature 'DNAStringSet,matrix'
PWMScanHeatmap(seq, pwm, coords = NULL,
  label = "")

Arguments

seq

A DNAString of equal length

pwm

A PWM

...

additional arguments used by methods

This function creates a heatmap where each point is the score of a PWM match starting from that position, which can visualise regions of enrichment or exclusion of certain motifs

coords

Co-ordinates for the heatmap, defaults to c(0, width(windows))

label

Label for the heatmap

Value

A heatmap

Methods (by class)

See Also

PatternHeatmap

Examples

data(HeatmapExamples)
PatternHeatmap(string_set, tata_pwm, coords=c(-100, 100), label="TATA Scan")

[Package heatmaps version 1.14.0 Index]