runScampi(peptides, proteins, edgespp, rescaling = TRUE, method = "all", quantifyPeptides = TRUE, numIter = 10, verbose = FALSE)
pepId
(unique identification number for each distinct peptide sequence, numbering from 1:n where n=number of distinct peptide sequences), pepSeq
(peptide sequence, optionally including modifications and charge states), and pepQty
(peptide abundance score). An additional column pepObs
(peptide observability or identification score) is used if provided. Each row in the data frame describes one observed distinct peptide sequence.
protId
(unique identification number for each distinct protein sequence, numbering from (n+1):(n+m) where m=number of distinct protein sequences), protName
(protein identifier or protein sequence). Each row describes a distinct protein sequence to which at least one of the observed peptides is matching.
pepId
and protId
. Each row defines an edge of the bipartite graph.
rescaling=TRUE
.
method="LSE"
, method="MLE"
and method="all"
(default).
TRUE
(default) do also re-quantify the peptides and assess the peptide abundance scores.
method="MLE"
, see details. Default: numIter=10
.
TRUE
, detailed output is provided.
scampiVal
containing estimates for the model parameters, protein abundances and, optionally, for the peptide abundances/residuals.
method="MLE"
the inverses of the covariance matrices (of the connected components) are needed. Depending on the chosen parameters, this can lead to stability issues. To avoid the function from crashing, a try(...)
bolck is used: the parameter estimation is performed until it was successful numIter
times. Among these numIter
sets, the one with the lowest negative log-likelihood value is returned.
iterateScampi
tuns the model iteratively, by removing outlying peptides in each step.
data("leptoSRM")
scampiOut <- runScampi(peptides=leptoSRMpeptides,
proteins=leptoSRMproteins,
edgespp=leptoSRMedgespp,
rescaling=FALSE, method="LSE")
Run the code above in your browser using DataLab