Tile map of the aa_position_frequency() table: position on the x axis,
residue on the y axis, one facet per group. This is the numeric complement to
the sequence logos in the 01_mhc_overview report — a logo scales letters by
information content and so hides which residue a flat position prefers, while
the heatmap keeps every frequency readable and comparable across Conditions.
Arguments
- freq
Output of
aa_position_frequency().- ncol
Facet columns. Default
3.- title
Plot title.
NULL(default) builds one from the peptide length recorded onfreq.
Examples
if (FALSE) { # \dontrun{
plot_aa_position_heatmap(aa_position_frequency(pep_short$Sequence,
groups = pep_short$Condition))
} # }