cutoffZscore: Z-score calculation for cutoff hits

Description Usage Arguments Value

View source: R/pwm.R

Description

The Z-score is calculated separately for each sequence

Usage

1
cutoffZscore(scores, seq.len, pwm.len, bg.P)

Arguments

scores

the hit counts for the sequences

seq.len

the length distribution of sequences

pwm.len

the length distribution of the PWMs

bg.P

background probabilities of observing a motif hit at nucleotide resolution (scaled to sequence length, not 2 * length)

Value

Z-score


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