Perform a binomial test to determine if SNP Effect Matrices are bound more often than expected.
Arguments
- x
The scoring table produced by
scoreBinding
- semList
A
SNPEffectMatrix
orSNPEffectMatrixCollection
object- background
A list of DNA sequences to use for background. The length of each sequence must match the length of sequences in
x
. By default, will scramble the provided sequences.- seqs
The sequences scored in
scoreBinding
- nFlank
Number of flanking nucleotides added to the sequences. Defaults to the length of the longest motif. If no flanks were added (ie, sequences were scored rather than a
GRanges
), usenFlank = 0
.