View source: R/protProfilePlot.R
protPlotfun | R Documentation |
This function creates a panel of plots, one for each compartment. Each plot contains a reference compartment profile overlaid with the profile of one protein of interest and its CPA value for that compartment.
protPlotfun(
protName,
profile,
numDataCols = 9,
n.compartments = 8,
refLocationProfiles,
assignPropsMat,
transType = "",
yAxisLabel = ""
)
protName |
name of the protein to plot |
profile |
data frame of specified protein(row name) profiles |
numDataCols |
number of fractions in each profile |
n.compartments |
number of compartments (8 in Jadot data) |
refLocationProfiles |
data frame of profiles for the reference compartments |
assignPropsMat |
data frame containing CPA estimates |
transType |
label for y-axis on each individual plot (default none)) |
yAxisLabel |
label for y-axis of entire panel |
A panel of profile plots
data(protNSA_test)
data(markerListJadot)
data(refLocProfNSA)
protCPAfromNSA_out <- fitCPA(profile=protNSA_test,
refLocationProfiles=refLocProfNSA,
numDataCols=9)
# Note that the profile of one protein, AIF1, contains missing values
# which causes the cpa routine to generate a nonconvergence message
protPlotfun(protName="TLN1", profile=protNSA_test,
numDataCols=9, n.compartments=8,
refLocationProfiles=refLocProfNSA,
assignPropsMat=protCPAfromNSA_out,
yAxisLabel="Normalized Specific Amount")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.