plotly_powerest {PoweREST} | R Documentation |
This function creates 3d interactive plot of the power against other parameters based on 'plot_ly'.
plotly_powerest(pred,opacity=0.8,colors='BrBG',fig_title=NULL)
pred |
The result from 'pred_powerest'. |
opacity |
The opacity of the graph, default=0.8. |
colors |
The color for the graph, default='BrBG'. |
fig_title |
The title of the graph, default=NULL. |
A 3d interactive plot of the power surface. Users can also plot multiple surfaces together to compare them.
Lan Shui lshui@mdanderson.org
data(result_example)
b<-fit_powerest(result_example$power,result_example$avg_logFC,result_example$avg_PCT)
pred <- pred_powerest(b,xlim= c(0,6),ylim=c(0,1))
plotly_powerest(pred,fig_title='Power estimation result')