Preprocessing the NetPhorce data before networkAnalysis by setting the thresholds for the minimal up- and down- fold changes, minimal absolute fold change, and q-value.

regulationCheck(
  netPhorceData = netPhorceData,
  upReg = 0.1,
  downReg = 0.1,
  absMinThreshold = 0.1,
  qValueCutOff = 0.05,
  verbose = FALSE
)

Arguments

netPhorceData

(Required). Processed NetPhorceData

upReg

(Required). The percentage fold change required between timepoints to be treated as an increase in phosphorylation.

downReg

(Required). The percentage fold change required between timepoints to be treated as a decrease in phosphorylation.

absMinThreshold

(Required). The bottom percentage of all fold changes that will be considered as unchanged. Setting this threshold will exclude small intensity fold changes that are considered above the upregulation and downregulation thresholds as a result of small median-centered intensity values.

qValueCutOff

(Required). The q-value threshold. A lower threshold increases stringency for including significant phosphopeptides in the network inference algorithm.

verbose

(Optional). If TRUE, a summary table will be printed.

Value

The netPhorce object with the following slots:

Design

Contains data design information and filtering parameters

data.filtered

Contains all the data points in a Long format that passed filtering criteria.

data.filtered.aov.summary

Contains all the data points in a Long format with anova results.

Misc

Contains accessory data including default plotting colors and FASTA Keys, if present.

regulationData

Contains regulation data calculated through regulationCheck function

Examples

if (FALSE) {
## Loading One Condition Data
data("oneConditionExample")
## Identify the Key Columns
identifiedCols <- confirmColumnNames(rawMaxQuant = oneConditionExample,
                                    positionCol = "Position",
                                    reverseCol = "Reverse",
                                    localizationProbCol = "Localization prob",
                                    potentialContaminationCol = "Potential contaminant",
                                    aminoAcidCol = "Amino acid",
                                    uniqueIDCol = "Protein",
                                    seqWindowIDCol = "Sequence window",
                                    fastaIDCol = "Fasta headers")
## Identify the Intensity Columns with Condition, Time Point and Replication Information
intensityCols <- confirmIntensityColumns(rawMaxQuant = oneConditionExample,
                                         intensityPattern = "con_time_rep",
                                         verbose = TRUE)
## Process the data based on the identified columns
netPhorceData <- processData(rawMaxQuant = oneConditionExample,
                             processedColNames = identifiedCols,
                             processedIntensity = intensityCols,
                             minReplication = 3,
                             minLocalProb = 0.75)
## Validating the Kinase/Phosphatase Information
netPhorceData <- validateKinaseTable(netPhorceData = netPhorceData,
                                     defaultKinaseTable = TRUE,
                                     abbrev = "Ath")
## Regulation Validation based on user inputs
netPhorceData <- regulationCheck(netPhorceData = netPhorceData,
                                 upReg = 0.25,
                                 downReg = 0.25,
                                 absMinThreshold = 0.1,
                                 qValueCutOff = 0.05,
                                 verbose = TRUE)
}