plotLogo: plot (Meth)Motif logo

View source: R/plotLogo.R

plotLogoR Documentation

Description

This function allows you to plot (Meth)Motif logo.

Usage

plotLogo(MM_object, logo_type = "entropy", meth_level = "all")

Arguments

MM_object

Required. MethMotif class object

logo_type

Logo type for the (Meth)Motif logo to be saved, either "entropy" (default) or "frequency".

meth_level

Methylation level to be plot for the (Meth)Motif logo, and it should be one of the values, "all" (default), "methylated", and "unmethylated".

Value

(Meth)Motif logo pdf file. If the TFregulomeR peak source is from MethMotif, MethMotif logo will be saved; if the source is GTRD, only motif logo will be saved.

Examples

K562_CEBPB <- searchMotif(id = "MM1_HSA_K562_CEBPB")
plotLogo(MM_object = K562_CEBPB)

benoukraflab/TFregulomeR documentation built on July 8, 2024, 5:03 p.m.