predicted2pwm {cobindR} | R Documentation

## 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

    ## 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`

[Package cobindR version 1.18.0 Index]