plot-MotifEnrichmentReport-missing-method: Plot the motif enrichment report

Description Usage Arguments

Description

Plots a graphical version of the motif enrichment report. Note that all values are plotted, if you want to plot only a subset of a report, first select this subset (see examples).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S4 method for signature 'MotifEnrichmentReport,missing'
plot(
  x,
  y,
  fontsize = 14,
  id.fontsize = fontsize,
  header.fontsize = fontsize,
  widths = NULL,
  ...
)

Arguments

x

a MotifEnrichmentReport object

y

unused

fontsize

font size to use in the plot

id.fontsize

font size to use for the motif IDs

header.fontsize

font size of the header

widths

the relative widths of columns

...

unused if(requireNamespace("PWMEnrich.Dmelanogaster.background")) ### # load the pre-compiled lognormal background data(PWMLogn.dm3.MotifDb.Dmel, package = "PWMEnrich.Dmelanogaster.background")

# scan two sequences for motif enrichment sequences = list(DNAString("GAAGTATCAAGTGACCAGTAAGTCCCAGATGA"), DNAString("AGGTAGATAGAACAGTAGGCAATGAAGCCGATG"))

res = motifEnrichment(sequences, PWMLogn.dm3.MotifDb.Dmel)

# produce a report for all sequences taken together r = groupReport(res)

# plot the top 10 most enriched motifs plot(r[1:10])


PWMEnrich documentation built on Nov. 8, 2020, 7:45 p.m.