plotFragmLoc | R Documentation |
Take result from fragIonMass
and display identified fragments by their location, an additional parameter (default logIntensity) is used for coloring
This function illustrates the distribution of identfied peptidesa and thus common break-points.
plotFragmLoc(
fraL,
extrCol = NULL,
useLog = FALSE,
useCol = NULL,
specLayout = NULL,
useTi = NULL,
subTit = NULL,
footer = NULL,
batchFig = FALSE,
legCex = 0.5,
legOffS = NULL,
legBorder = NULL,
silent = FALSE,
callFrom = NULL,
debug = FALSE
)
fraL |
(list) result from |
extrCol |
(character) 1st should be aa seq of initial proteins (used for dimensionong graph and separating multiple input proteins), 2nd & 3rd start- and ed-site for drawing;, 4th the column to use for coloring), 5th for protein name in title of figure |
useLog |
(logical) take values for coloring (4th element of 'extrCol') as log10 |
useCol |
(character) custom colors |
specLayout |
(character) custom layout |
useTi |
(character) custom title |
subTit |
(character) custom sub-title |
footer |
(character) custom footer |
batchFig |
(logical) reduce text content for multiple figues on page |
legCex |
(numeric, length=1) expansion factor |
legOffS |
(numeric) legend-offset (passed to |
legBorder |
(logical) legend-border (passed to |
silent |
(logical) suppress messages |
callFrom |
(character) allow easier tracking of message(s) produced |
debug |
(logical) additional messages for debugging |
This function returns a figure
identifFixedModif
protP <- c(protP="PEPTIDE")
obsMassX <- cbind(a=c(199.1077, 296.1605, 397.2082, 510.2922,625.3192),
b=c(227.1026, 324.1554, 425.2031, 538.2871, 653.3141),
x=c(729.2937, 600.2511, 503.1984, 402.1507, 289.0666),
y=c(703.3145, 574.2719, 477.2191, 376.1714, 263.0874))
rownames(obsMassX) <- c("E","P","T","I","D") # all 1 & 7 ions not included
identP1 <- identifFixedModif(prot=protP,expMass=as.numeric(obsMassX), minFragSize=2,
maxFragSize=7, modTy=list(basMod=c("b","y"))) #
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.