Learn R Programming

BioVizSeq (version 1.0.3)

meme_plot: meme_plot

Description

Visualization of motif in meme file or mast file

Usage

meme_plot(
  meme_file,
  the_order = NULL,
  motif_select = NULL,
  shape = "RoundRect",
  show_motif_id = FALSE,
  r = 0.3,
  legend_size = 15,
  motif_color = NULL
)

Value

p

Arguments

meme_file

The path of meme file or mast file.

the_order

The path of order file. A List of Gene ID , One ID Per Line.

motif_select

The motif ID which you want to align with.

shape

RoundRect or Rect.

show_motif_id

Display the name of the motif.

r

The radius of rounded corners.

legend_size

The size of legend.

motif_color

The color set of motif.

Author

Shiqi Zhao

Examples

Run this code
mast_path <- system.file("extdata", "mast.xml", package = "BioVizSeq")
meme_plot(mast_path)

meme_plot(mast_path, motif_select="1", show_motif_id = TRUE)

order_path <- system.file("extdata", "order.csv", package = "BioVizSeq")
meme_plot(mast_path, the_order=order_path, motif_select="1")

Run the code above in your browser using DataLab