plotPredict | R Documentation |
Plots predicted treatment effects of individuals from predicteff
plotPredict( x, rk = NULL, lb = "Associated treatment effect", xlab = "Subject Ranking", ctrl.plot = NULL, ... )
x |
object of class |
rk |
object of class |
lb |
label of the y axis for treatment effect. |
xlab |
label of the x axis. |
ctrl.plot |
controls plot legends (when NULL then internally ctrl.plot <- list(lb=c("Not treated", "Treated"), wht="bottomleft", whs = "topright")) |
... |
parameters for plotting |
A plot on the current graphics device. data(tcell) homologous<- matrix(c("DDX3Y","DDX3X","KDM5D","KDM5C","PRKY","PRKX", "RPS4Y1","RPS4X","TXLNGY", "TXLNG", "USP9Y", "USP9X", "XIST", "XIST", "TSIX", "TSIX"), nrow=2) pf <- predicteff(tcell, featuresinf=homologous) plotPredict(pf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.