InflectSSP (Statistics, STRING, PANTHER)
Introduction
InflectSSP is a function that uses LC-MS data from a Thermal Proteome
Profiling (TPP) experiment and user inputs to determine protein melt
shifts across the proteome. There are multiple types of TPP experiments
but the type that can be analyzed using this InflectSSP function is
those where a single type of drug treatment or mutant cell line
(Condition) is used with a single type of vehicle or wild type cell line
(Control). Biological and technical replicate data sets can be analyzed
by this program. These experiments also consist of those where a single
gradient heat treatment (i.e. 25, 35, 40, 50, 55, 60) is used across all
conditions and controls. The output of this program consists of melt
curves for each protein along with summary files that include
bioinformatic analysis. The output files are all saved to the Directory
folder specified by the user and this is the same folder that the user
saves the source input data files. The bioinformatic analysis that is
generated includes overlay of melt shift data with STRING based
annotations.
Program outputs
The program reports the following in a folder titled “Result Files”
in the Directory folder specified by the user:
- In a folder titled “Good Fit Curves” the melt curves (condition and
control) for each protein that has been reported to have acceptable:
- PSMs
- UPs
- Quality of fit for melt curves as measured by R squared
- AllMeltShifts.csv. This file contains all melt shifts that pass PSM
and UP criteria.
- AnalysisResults.csv. This file contains data along with calculations
for each protein that was identified as having sufficient quantity of
PSM and UP
- FilteredMeltShifts.csv: This file contains the melt shifts that pass
all criteria entered by the user
- WaterfallPlot.pdf plot: This is a plot of melt shifts for all
proteins that are numbered in order from lowest melt shift to highest
melt shift. This plot includes proteins that had good quality melts and
met PSM/UP criteria. Red dots are those that are considered to be
significant (melt shift p-value, melt shift magnitude) while black dots
are those that do not meet these criteria.
- STRINGNetwork.svg: This file contains and image of a network diagram
that contains nodes for each protein that was observed to be significant
in the analysis pipeline. The lines between each node indicate an
interaction or relationship as identified by STRING according to the
confidence limits specified by the user. The color of each node
corresponds to the melt shift identified by the program.
- NodeMelts.csv: This file summarizes the interactions used by the
plotting function to generate the STRING diagram.
- Proteins_With_Interactions.csv: This file summarizes the proteins
that have both significant melt shifts and are reported to have
interactions based on STRING.
General program analysis description
The following functions are run by the InflectSSP function
- Import: This function imports the mass spec data from the xlsx
files. The NControl and NCondition specified by the user set the number
of files that are imported.
- Normalize: This function normalizes the abundance values for each
protein and at each temperature to the abundance at the lowest
temperature for each protein.
- Quantify: This function determines the median abundance at each
temperature across all files in the data sets.
- CurveFit1: This function fits the median abundance vs. temperature
using a 4 parameter log fit. In the event that the curve fitting
function is unable to converge, a 3 parameter log fit is used.
- Correction: This function corrects the normalized abundance values
for each protein and in each replicate condition or control. The
correction factor is first calculated using the actual and predicted
values from CurveFit1 function. The correction constants are calculated
as follows: (1-((Actual)-Predicted)/((Actual))). The constants are
calculated for each temperature and are multiplied by the normalized
abundance values for each protein in the data sets.
- CurveFit2: This function fits 4 parameter log fit curves for each
corrected and normalized abundance value for each protein condition and
control. In the event that either there is no convergence for the fit, a
3 parameter log fit is used. In the event that the melt temperature is
greater than or less than the lowest or highest temperature in the heat
treatment, a 3 parameter log fit is used for the fitting.
- MeltCalc: This function calculates the melt temperature for each
protein condition and control using the inflection point in the curve.
The melt shift is calculated using the melt temperatures for each
protein (Condition-Control). The criteria including the p-value for the
melt, melt magnitude and quality of fit for the curves is evaluated and
documented.
- ReportDataMelts: This function reports the melt shift related
files
- ReportSTRING: This function creates the STRING / melt shift network
diagram
Example code for execution of the function
Directory<-“/Users/Einstein/TPPExperiment”
NControl<-3
NCondition<-3
PSM<-2
UP<-3
CurveRsq<-0
PValMelt<-0.05
MeltLimit<-0
RunSTRING<-“Yes”
STRINGScore<-0.95
RunPANTHER<-“Yes”
Species<-9606
PANTHERpvalue<-0.05
InflectSSP::InflectSSP(Directory,NControl,NCondition,PSM,UP,CurveRsq,PValMelt,MeltLimit,RunSTRING,STRINGScore,Species)