Description Usage Arguments Value Note Author(s) See Also Examples
Use provided model parameter values to compute the expected value and variance of the abundance for a given protein.
1 | quantifyProtein(protInfo, ccList, param, verbose = FALSE)
|
protInfo |
Vector with two elements: |
ccList |
List of pre-processed connected components. |
param |
Vector with at least four named elements: |
verbose |
If |
Vector with two values: expected value and variance of the protein abundance.
This function is intended to quantify a single protein when the parameter values have been computed previously. To run a whole analysis (check input data, preprocess connected components, estimate model parameters and compute abundance sore estimates) you should use the function runScampi
or iterateScampi
.
Sarah Gerster sarah.gerster@isb-sib.ch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## get data
data("leptoSRM")
## check input data
dataChecked <- checkInputData(scampiData=scampi(peptides=leptoSRMpeptides,
proteins=leptoSRMproteins,
edgespp=leptoSRMedgespp),
rescaling=FALSE)
## preprocess input data
tmpPrepro <- preprocessInputData(scampiData=dataChecked)
dataPrepro <- tmpPrepro[["dataPrepro"]]
myCCList <- tmpPrepro[["ccList"]]
rm(tmpPrepro)
## compute covariance matrices
myCCList <- lapply(myCCList, getCovU,
beta=0.2,
tau=0.5)
## compute expected value and variance of abundance for protein 7
protAbundanceScore <-
quantifyProtein(protInfo=dataPrepro@proteins[7, c("protId", "ccInd")],
ccList=myCCList, param=c(alphaH=0, betaH=0.2, muH=0.3,
tauH=0.2))[1]
protAbundanceVariance <-
quantifyProtein(protInfo=dataPrepro@proteins[7, c("protId", "ccInd")],
ccList=myCCList, param=c(alphaH=0, betaH=0.2, muH=0.3,
tauH=0.2))[2]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.