matchPois: Accepts a vector of peak IDs, and performs a Poisson test for...

View source: R/getMatches.R

matchPoisR Documentation

Accepts a vector of peak IDs, and performs a Poisson test for enrichmet of motifs in peaks versus a background of all elements in matches.

Description

Accepts a vector of peak IDs, and performs a Poisson test for enrichmet of motifs in peaks versus a background of all elements in matches.

Usage

matchPois(peaks, matches, padj.method = "fdr", allow.duplicates = F)

Arguments

peaks

A character vector of peak IDs corresponding to the row.names of matches.

matches

An output from motifmatchr::matchMotifs.

padj.method

The method to be used by p.adjust().

allow.duplicates

Whether to remove duplicates from peaks.

Value

A data.frame containing the test results.

See Also

getMatches, motifmatchr::matchMotifs


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