pwmType: pwmType

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Determines type of PWM

Usage

1
pwmType(pwm)

Arguments

pwm

PWMatrix object

Value

'log','log2', or 'frequency' depending on type of pwm

Examples

1
2
3
data(example_motifs, package = "motifmatchr")
pwmType(TFBSTools::toPWM(example_motifs[[1]]))
pwmType(TFBSTools::toPWM(example_motifs[[1]], type = "prob"))

motifmatchr documentation built on Nov. 8, 2020, 8:09 p.m.