logNormPval: Calculate the P-value from lognormal distribution with...

Description Usage Arguments

View source: R/pwm.R

Description

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

Usage

1
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


PWMEnrich documentation built on Nov. 8, 2020, 7:45 p.m.