cloverPvalue1seq {PWMEnrich} | R Documentation

## Calculate the Clover P-value as described in the Clover paper

### Description

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

### Usage

    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

[Package PWMEnrich version 4.28.1 Index]