Closed:how to plot does response curve for temperature
2
0
Entering edit mode
@bioinformatics-10931
Last seen 2.3 years ago
United States

I am trying to make figures which are automatically generated by TPP. 

At this moment, I am stuck in the passing which information into fctSigmoidTR()). This should be different than CCR I believe C: how to plot does response curves using TPP?  

I have tried to make the plot for one of the protein named AAK1 as follows:

I think I should pass few constants values like a, b and plateau but I don't know how,  I also know that I should be ploting it with TPP:::fctSigmoidTR())  but I don't know which argument it gets as input and with which structure 

 

library(TPP)
library(dplyr)
data("hdacTR_smallExample")
tempRepl1 <- as.numeric(hdacTR_config[1,-1])
TRresults <- analyzeTPPTR(configTable=hdacTR_config, data=hdacTR_data, plotCurves=FALSE)
AAK1 <- TRresults %>% filter(Protein_ID == "AAK1")

hill <-   AAK1$slope_Panobinostat_1

 

if I do this 

y <- eval(parse(text = TPP:::fctSigmoidTR()), list(deriv=2, hill=hill))

I get an error 

Error in TPP:::fctSigmoidTR() : 
  argument "deriv" is missing, with no default

 

and also for ggplot I should give x values too 

ggplot(data.frame(x,y)) + geom_line(aes(x=x, y=y)) + ggtitle("TR-curve for AAK1")

is the x like CCR ?

 

TPP • 212 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 618 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6