predicted2pwm:
function to convert predicted TFBS hits into a PWM
Description
function converts for each input PWM the predicted TFBS hits into a PWM. Function is intended to be used together with the sequence logo creation function 'plot.tfbslogo'.
Usage
"predicted2pwm"(x, as.pfm=FALSE)
Arguments
x
object of class "cobindr" describing the sequences and the
predicted TFBS.
as.pfm
logical flag, to indicate whether the function should
return a PFM (TRUE) or a PWM (FALSE)
Value
predPwm
positional frequency matrix based on consensus matrix