Skip to contents

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