Filters to peptides of seq_length, splits their sequences by by, and
renders a ggseqlogo::ggseqlogo() motif per group. Warns when a by group
has no sequences of the requested length (and so is dropped from the plot).
Arguments
- input
A
pep_all-shaped data frame withLength/Sequencecolumns.- seq_length
Peptide length to filter to (motifs require fixed-length alignment).
- by
Column name (string) to split sequences by, e.g.
"Condition".- ...
Additional arguments passed to
ggseqlogo::ggseqlogo().