I have tried to reproduce the example data provided by the author of TPP package
data("hdacTR_smallExample") resultPath = file.path(getwd(), 'Panobinostat_Vignette_Example') trData <- tpptrImport(configTable=hdacTR_config, data=hdacTR_data) normResults <- tpptrNormalize(data=trData) trDataNormalized <- normResults[["normData"]] load(file.path(resultPath, "dataObj", "fittedData.RData"), verbose=TRUE) bNew <- 200 TRresultsBNew <- tpptrAnalyzeMeltingCurves(data=trDataFitted, pValParams=list(binWidth=bNew,minR2=0.8,maxPlateau=0.3)) Error: could not find function "tpptrAnalyzeMeltingCurves"
The functions can be invoked from https://github.com/Bioconductor-mirror/TPP/tree/master/R
At first it is missing " tpptrAnalyzeMeltingCurves" function
Then after i manually invoke it from github, it is missing "retrieveDataFromESets_TR" function. again after invoking the function "eSetsToLongTable_fc" which consists of the above function.
It is missing the "meltCurveParamNames" function. And then after adding this function manually, I get an error like Starting melting curve analysis. Show Traceback Rerun with Debug
Error in `[.data.frame`(fDat, , cols1) : undefined columns selected
what could be the reason for this?
@Martin Morgan the package is updated , I have done all these in advance. I gave the same example as it is given by the author. so one can reproduce the error I obtained.
If I
and then cut-and-paste your code I get
So unfortunately your example is not complete.
Fortunately, the vignettes in R packages are built dynamically, and the code is available in your installation. Here's how I can evaluate the vignette source in my R session
The entire code completes for me without problem. Also, I see that the function that you do not have is available
The unusual thing that you say in your question is that "The functions can be invoked from https://github.com/Bioconductor-mirror/TPP/tree/master/R" but one would never do that. Instead one would install and load the package
and proceed from there.
Here's my sessionInfo(), showing the version of R and other packages in my session after running the vignette. What is your session info?