rmdup | R Documentation |
Accepts a PWMatrixList and an output from motifmatchr::matchMotifs, and removes rows from the output corresponding to duplicate motif IDs. Only the row with the greatest number of matches is left for each motif ID. The background frequency is obtained from the total nucleotide frequencies in peaks.
rmdup(motifs, matches, metric = "matches")
motifs |
The PWMatrixList used to compute matches. |
matches |
An output from motifmatchr::matchMotifs. |
out |
Type of output to return. |
A matches
object.
getMatches
, motifmatchr::matchMotifs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.