| plotTarget | R Documentation |
Plots estimated treatment effects of individuals from target
plotTarget(
x,
labs = c("Treatment effect", "Outcome", "Treatment", "Not treated", "Treated"),
labeff = NULL,
...
)
x |
object of class |
labs |
string of characters for the labels of the plot, it refers in order to labels to use for: Treatment effect group, Outcome, Treatment, and levels of the treatment like: Treated and not Treated. |
labeff |
string of characters for the labels of the treatment effect default NULL, 0: neutral and 1: positive or negative; or 0: neutral, -1: negative and 1: positive. |
... |
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, profile=TRUE)
res <- target(tcell, pf,
effect="positiveandnegative", featuresinf=homologous,
nmcov="age", model="log2")
plotTarget(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.