Skip to contents

This function accepts a glyexp::experiment(), and plots the logo plot for all glycosites. Positions with insufficient flanking amino acids will be padded with "X".

Usage

plot_logo(exp, n_aa = 5L, fasta = NULL, ...)

Arguments

exp

A glyexp::experiment() object.

n_aa

The number of amino acids to the left and right of the glycosylation site. For example, if n_aa = 5, the resulting sequence will contain 11 amino acids.

fasta

The path to the FASTA file containing protein sequences. If glyclean::add_site_seq() has been called on the experiment, this argument can be omitted.

...

Additional arguments passed to ggseqlogo::ggseqlogo().

Value

A ggplot object.