maxAligned {PWMEnrich} | R Documentation |
This function takes the offset of first motif relative to second and chops off the end of both motifs that are not aligned. It returns a list containing only the columns that align.
maxAligned(m1, m2, offset)
m1 |
frequency matrix of first motif |
m2 |
frequency matrix of second motif |
offset |
a number of nucleotides by which the first motif is offsetted compared to the second |
a list of column-trimmed motifs m1, m2