Usage
dataProcessPlots(data=data,type=type,featureName="Transition",ylimUp=FALSE,ylimDown=FALSE,scale=FALSE,interval="SE",axis.size=10,text.size=4,text.angle=0,legend.size=7,width=10, height=10, which.Protein="all",address="")
Arguments
data
name of the (processed) data set.
type
choice of visualization. "ProfilePlot" represents profile plot of log intensities across MS runs. "QCPlot" represents quality control plot of log intensities across MS runs. "ConditionPlot" represents mean plot of log ratios (Light/Heavy) across conditions.
featureName
for "ProfilePlot" only, "Transition" (default) means printing feature legend in transition-level; "Peptide" means printing feature legend in peptide-level; "NA" means no feature legend printing.
ylimUp
upper limit for y-axis in the log scale. FALSE(Default) for Profile Plot and QC Plot is 30. FALSE(Default) for Condition Plot is maximum of log ratio + SD or SE.
ylimDown
lower limit for y-axis in the log scale. FALSE(Default) for Profile Plot and QC Plot is 0. FALSE(Default) for Condition Plot is minumum of log ratio - SD or SE.
scale
for "ConditionPlot" only, FALSE(default) means each conditional level is not scaled at x-axis according to its actual value (equal space at x-axis). TRUE means each conditional level is scaled at x-axis according to its actual value (unequal space at x-axis).
interval
for "ConditionPlot" only, "SE"(default) uses standard error for the width of error bar. "SD"(default) uses standard deviation for the width of error bar.
axis.size
size of x-axis labeling for "Run" in Profile Plot and QC Plot, and "Condition" in Condition Plot. Default is 10.
text.size
size of labels represented each condition at the top of graph in Profile Plot and QC plot. Default is 4.
text.angle
angle of labels represented each condition at the top of graph in Profile Plot and QC plot or x-axis labeling in Condition plot. Default is 0.
legend.size
size of feature legend (transition-level or peptide-level) above graph in Profile Plot. Default is 7.
width
width of the saved file. Default is 10.
height
height of the saved file. Default is 10.
which.Protein
Protein list to draw plots. List can be names of Proteins or order numbers of Proteins from levels(data$PROTEIN). Default is "all", which generates all plots for each protein.
address
the name of folder that will store the results. Default folder is the current working directory. The other assigned folder has to be existed under the current working directory. An output pdf file is automatically created with the default name of "ProfilePlot.pdf" or "QCplot.pdf" or "ComparisonPlot.pdf". The command address can help to specify where to store the file as well as how to modify the beginning of the file name. If address=FALSE, plot will be not saved as pdf file but showed in window.