plot_motif_enrichment: plot motif enrichment of a target file or sequences

View source: R/yz_motif_enrich_fjEdit202111.R

plot_motif_enrichmentR Documentation

plot motif enrichment of a target file or sequences

Description

plot motif enrichment of a target file or sequences

Usage

plot_motif_enrichment(seqs, pwmlist, threads = 1)

Arguments

seqs

the sequence file, or a character of sequences

pwmlist

a PWMatrixList containing the pwm of motifs

Value

a ggplot of the enrichment of each motif

Examples

pwmlist <- readRDS("/wrk/zhu/test/motif_curation/curated_30N_motif_pwmlist_20211014.rds")
seqs="/wrk/wenchenjin/work/Chenjin1_1__ATI_ara.cell_1/pre_processed/cleaned/B8_20_Mock__root__conc_0nM__time_2h__30n.gz"
tt= plot_motif_enrichment(seqs,pwmlist)

hbmcsysbio/hbmcbioR documentation built on April 14, 2022, 9:59 p.m.