pfm2pwm {motifStack} | R Documentation

## convert pfm object to PWM

### Description

convert pfm object to PWM

### Usage

    pfm2pwm(x, N = 10000)

### Arguments

`x` | an object of `pfm` or `pcm` or matrix
`N` | Total number of event counts used for pfm generation.

### Value

A numeric matrix representing the Position Weight Matrix for PWM.

### Author(s)

Jianhong Ou

### See Also

`PWM`

### Examples

    library("MotifDb")
    matrix.fly <- query(MotifDb, "Dmelanogaster")
    pfm2pwm(matrix.fly[[1]])

[Package motifStack version 1.36.1 Index]