
Logo Plot
plot_logo.RdDraw a logo plot for all glycosites. Positions with insufficient flanking amino acids will be padded with "X". Currently supported data types:
glyexp_experiment: Experiment created byglyexp::experiment(). Logo plot of glycosylation sites is plotted.
Usage
plot_logo(x, n_aa = 5L, fasta = NULL, tax_id = 9606L, ...)
# S3 method for class 'glyexp_experiment'
plot_logo(x, n_aa = 5L, fasta = NULL, tax_id = 9606L, ...)Arguments
- x
An object to be plotted.
- 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. Whensite_sequenceis missing andfastaisNULL, UniProt.ws is used to fetch protein sequences automatically.- tax_id
The NCBI taxonomy ID used for UniProt.ws lookups. Defaults to 9606.
- ...
Additional arguments passed to
ggseqlogo::ggseqlogo().