logNormPval {PWMEnrich} | R Documentation

## Calculate the P-value from lognormal distribution with background of equal length

### Description

Calculate the P-value from lognormal distribution with background of equal length

### Usage

    logNormPval(scores, seq.len, pwm.len, bg.mean, bg.sd, bg.len, log = FALSE)

### Arguments

`scores` | affinity scores for the PWMs, can contain scores for more than one sequence (as rows), P-values are extracted separately
`seq.len` | the length distribution of the sequences
`pwm.len` | the leggths of PWMs
`bg.mean` | the mean values from the background for PWMs
`bg.sd` | the sd values from the background
`bg.len` | the length distribution of the background (we currently support only constant length)
`log` | if to produce log p-values

[Package PWMEnrich version 4.28.1 Index]