plotly_powerest {PoweREST} | R Documentation |
3D interactive visualization
Description
This function creates 3d interactive plot of the power against other parameters based on 'plot_ly'.
Usage
plotly_powerest(pred,opacity=0.8,colors='BrBG',fig_title=NULL)
Arguments
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. |
Value
A 3d interactive plot of the power surface. Users can also plot multiple surfaces together to compare them.
Author(s)
Lan Shui lshui@mdanderson.org
Examples
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')
[Package PoweREST version 0.1.0 Index]