pep_plot_images: Plot peptide images

Description Usage Arguments Details Value Examples

View source: R/utils_pep.R

Description

Plot the first n encoded peptide 'images'

Usage

1
pep_plot_images(pep, n = 3)

Arguments

pep

A character vector of peptides to be plotted as 'images'

Details

Peptides are encoded using pep_encode(), resulting in peptide 'images' Each position in the peptide become a vector of 20 values, corresponding to the rounded log odds ratio for substituting the amino acid in the peptide with each of the 20 standard proteogenic amino acids. The final result is a list of peptide 'images' each with values in [0;1].

Value

A cowplot plot grid of the n first peptide 'images'

Examples

1

leonjessen/PepTools documentation built on Feb. 23, 2018, 6:36 p.m.