predicted2pwm: function to convert predicted TFBS hits into a PWM

Description Usage Arguments Value Author(s) See Also

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

1
2
## S4 method for signature 'cobindr'
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

Author(s)

Robert Lehmann <r.lehmann@biologie.hu-berlin.de>

See Also

plot.tfbslogo


cobindR documentation built on April 28, 2020, 6:40 p.m.