setP: Add p-value to GRangesList with a "score" column.

View source: R/getMatches.R

setPR Documentation

Add p-value to GRangesList with a "score" column.

Description

Add p-value to GRangesList with a "score" column.

Usage

setP(matches, motifs, bg)

Arguments

matches

A GRangesList of matches from motifmatchr::matchMotifs(out='positions')

motifs

The input motifs for matches.

bg

Nucleotide background frequencies

Value

The GRangesList with p-values for a match in the metadata.

See Also

TFMPvalue::TFMs2pv


kewiechecki/tfenrichr documentation built on June 10, 2025, 12:15 a.m.