plotPredict: Plots predicted treatment effects of individuals from...

View source: R/classes.R

plotPredictR Documentation

Plots predicted treatment effects of individuals from predicteff

Description

Plots predicted treatment effects of individuals from predicteff

Usage

plotPredict(
  x,
  rk = NULL,
  lb = "Associated treatment effect",
  xlab = "Subject Ranking",
  ctrl.plot = NULL,
  ...
)

Arguments

x

object of class pteff

rk

object of class vector, if null, treatment effect are plotted against their ranking, if not then they ara plotted against rk values.

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

Value

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)


teff-package/teff documentation built on March 20, 2022, 8:25 p.m.