plot.epiScreen: Plot screen.

View source: R/plot_results.R

plot.epiScreenR Documentation

Plot screen.

Description

Plots the sresults of a systematic knock-out screen

Usage

## S3 method for class 'epiScreen'
plot(
  x,
  global = TRUE,
  ind = NULL,
  colorkey = TRUE,
  cexGene = 1,
  off = 0.05,
  cexLegend = 1,
  ...
)

Arguments

x

object of class epiScreen

global

plot global distribution or for each pair (FALSE)

ind

index of pairs to plot

colorkey

if TRUE prints colorkey

cexGene

size of modulator annotation

off

relative distance from the gene names to the respective likelihoods

cexLegend

font size of the legend

...

other arguments

Value

plot(s) of an epiNEM screen analysis

Examples

data <- matrix(sample(c(0,1), 100*9, replace = TRUE), 100, 9)
colnames(data) <- c("A.B", "A.C", "B.C", "A", "B", "C", "D", "E", "G")
rownames(data) <- paste("E", 1:100, sep = "_")
res <- epiScreen(data)
plot(res)
plot(res, global = FALSE, ind = 1:3)

cbg-ethz/epiNEM documentation built on Nov. 9, 2023, 8:56 p.m.