pfm2pwm {motifStack}R Documentation

convert pfm object to PWM

Description

convert pfm object to PWM

Usage

pfm2pwm(x)

Arguments

x

an object of pfm or pcm or matrix

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.26.0 Index]