predicted2pwm {cobindR} | R Documentation |
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'.
## S4 method for signature 'cobindr' predicted2pwm(x, as.pfm=FALSE)
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) |
predPwm |
positional frequency matrix based on consensus matrix |
Robert Lehmann <r.lehmann@biologie.hu-berlin.de>