cloverPvalue1seq: Calculate the Clover P-value as described in the Clover paper

Description Usage Arguments Value

View source: R/clover.R

Description

This function only take one background sequence as input, it also just calculates the P-value so it is more efficient.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
cloverPvalue1seq(
  scores,
  seq.len,
  pwm.len,
  bg.fwd,
  bg.rev,
  B = 1000,
  verbose = TRUE,
  clover = NULL
)

Arguments

scores

the affinity scores for individual sequences

seq.len

lengths of sequences

pwm.len

lengths of PWMs

bg.fwd

the raw score of forward strand

bg.rev

the raw scores of reverse strand

B

the number of random replicates

verbose

if to give verbose progress reports

clover

the clover scores if already calculated

Value

P-value


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