Learn R Programming

motifStack (version 1.16.2)

pfm2pwm: 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.

See Also

PWM

Examples

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

Run the code above in your browser using DataLab