Learn R Programming

coRNAi (version 1.22.0)

InteractLevelPlot: function to visualize interactions as a levelplot

Description

visualizes significant interactions as a levelplot

Usage

InteractLevelPlot(toptable, thresh = 0.001, by = "P.Value", key = FALSE, col.regions = colorRampPalette(c("blue", "white", "yellow")),zerolimit=0)

Arguments

toptable
toptable table from function topTable
thresh
thresh numeric, threshold for significance
by
by column in topTable that thresh should be applied to
key
key optional, data frame with groupings of the genes in the toptable
col.regions
col.regions colors to be used
zerolimit
zerolimit threshold below which interactions should be colored as 0.

Value

a levelplot, pdf files with graphs

See Also

levelplot

Examples

Run this code

data(screen1_raw)
df = cellHTS2df(screen1_raw,neutral="Fluc")
tt = data.frame("size"=runif(length(unique(df$Pair[df$Type=="comb"])),-2,2),stringsAsFactors=FALSE)
rownames(tt) = unique(df$Pair[df$Type=="comb"])
InteractLevelPlot(tt,thres=0,by="size")

Run the code above in your browser using DataLab