tx_plot_ggseqlogo: Plot motif centered in logical annotation

View source: R/tx_plots.R

tx_plot_ggseqlogoR Documentation

Description

Plots a motif of the sequence surrounding sites marked as TRUE in a logical vector in a

Usage

tx_plot_ggseqlogo(DT, logi_col, upFlank, doFlank, method = "bits")

Arguments

DT

data.table. A table as output by the tx_makeDT_coverage(), tx_makeDT_nucFreq() or tx_makeDT_covNucFreq() functions.

logi_col

character. Name of column of logical class, which indicates queried sites

upFlank

numeric. Up-stream flank length

doFlank

numeric. Down-stream flank length

method

character. Height method, can be either "bits" or "probability". Default = "bits".

Value

ggplot


AngelCampos/txtools documentation built on Sept. 16, 2024, 10:25 p.m.