## 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 of abundance for peptide 13
pepAbundanceScore <-
quantifyPeptide(pepInfo=dataPrepro@peptides[13, c("pepId", "ccInd")],
ccList=myCCList, param=c(alphaH=0, betaH=0.2, muH=0.3,
tauH=0.2))
Run the code above in your browser using DataLab