Usage
peakplot(peptideSequence, spec,
FUN=defaultIon,
fi=fragmentIon(peptideSequence, FUN=FUN)[[1]],
main=NULL,
sub=paste(peptideSequence, spec$title, sep=" / "),
xlim=range(spec$mZ, na.rm=TRUE),
ylim=range(spec$intensity, na.rm=TRUE),
itol=0.6,
pattern.abc="[abc].*",
pattern.xyz="[xyz].*",
ion.axes=TRUE)
Arguments
peptideSequence
peptide sequence encoded as character sequence using
the 20 amino acid letters.
spec
a tandem mass spec data structure which is a list having two
eq sized vectors calles mZ and intensity. mZ values are sorted.
FUN
the function to be applied to compute further ions. If no
function is assigned fragmentIon
will
use defaultIon
.
fi
fragment ion table, if not specified
fragmentIon(sequence, FUN=FUN)[[1]]
is called.
This argument is usefull if you have PTM or specific ion series.
sub
a sub title for the plot
main
a main title for the plot
xlim
xlim of the plot; default is range(spec$mZ, na.rm=TRUE)
itol
fragment ion tolerance default is 0.6 Dalton. values below are considered as hit.
pattern.abc
regexpr pattern
for a, b, c like ions. if the pattern does not match ion are not plotted.
pattern.xyz
regexpr pattern
for x, y, z like ions.
ion.axes
boolean default is TRUE
. determines wether the fragment ion labels should be plotted instead of m/z values.