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

Description Usage Arguments Value See Also

View source: R/getMatches.R

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

1
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/atacSeqFns documentation built on Sept. 27, 2020, 8:25 a.m.