View source: R/Functions_peptides.R
plot an annotated peptide sequence
1 2 | plotAnnotatedPeptide(peaklabels, sequence, parseLabels = F,
sortby = "intensitySpec", cx = 2, yoffset = 0)
|
peaklabels |
data.frame with labeling informationi,
as returned by |
sequence |
peptide sequence (character) |
parseLabels |
optionally apply parse() to peaklabels$label and add as label (NYI) |
sortby |
sort (decreasing) by this column. Only the top 2 ions for each position (for both a,b,c ions AND x,y,z ions) will be shown |
cx |
font size factor for the sequence characters, other font sizes will be scaled accordingly |
yoffset |
y axis offset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.