countMatches: Converts position output to logical match output.

View source: R/getMatches.R

countMatchesR Documentation

Converts position output to logical match output.

Description

Converts position output to logical match output.

Usage

countMatches(matches, peaks, out = c("counts", "matches"))

Arguments

matches

Output of motifmatchr::matchMotifs(..., out='positions')

peaks

Subject input for matchMotifs.

out

One of 'counts' or matches.

Value

A counts matrix with motifs as columns and peaks as rows.


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