Skip to contents

Perform a binomial test to determine if SNP Effect Matrices are bound more often than expected.

Usage

enrichSEMs(x, semList, background = NULL, seqs = NULL, nFlank = NULL)

Arguments

x

The scoring table produced by scoreBinding

semList

A SNPEffectMatrix or SNPEffectMatrixCollection 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), use nFlank = 0.

Value

a list of matrices