plotOverlap | R Documentation |
This function plots the overlap with a heatmap.
plotOverlap(x, col.set1, col.set2, col.set1.size, col.set2.size,
col.overlap.size, col.FE, col.Pvalue, col.text, cex.text=1.0,
cex.lab=1.0, cex.legend=1.0, main='', order.by.size=TRUE,
max.log10.p=320, cluster.by=NULL, fill=c('count','FE','text'),
colorLabels=FALSE, show.set.size=TRUE, set.order=NULL, ...)
x |
a data.frame of overlap analysis result. |
col.set1 |
column id of set 1 in |
col.set2 |
column id of set 2 in |
col.set1.size |
column id of set 1 size. |
col.set2.size |
column id of set 2 size. |
col.overlap.size |
column id of overlap size. |
col.FE |
column id of fold enrichment. |
col.Pvalue |
column id of P value. |
col.text |
column id of text string used for |
cex.text |
magnitude of text size. |
cex.lab |
magnitude of lable size. |
cex.legend |
magnitude of legend text size. |
main |
title of the plot. |
order.by.size |
whether to sort the sets by size. |
max.log10.p |
maximum absolute log10 P value. Larger values will be fixed to this value. |
cluster.by |
one of NULL, 'P' and 'FE'. See |
fill |
fill the cells with count, fold enrichment (FE) or text. NULL to turn off filling. |
colorLabels |
whether to color the set labels if the sets are named by colors. |
show.set.size |
whether to show set size in the row and column labels. |
set.order |
NULL or a list with two named vectors |
... |
additional arguments used in function |
A modified version of function labeledHeatmap
from package WGCNA
will be called to plot overlap in a heatmap. cluster.by
specifies how to cluster the sets (either by 'P' value or 'FE'), and, if not NULL, it overrides order.by.size
.
GOtest
##not run###
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.