Description Usage Arguments Details Author(s) See Also
This function generates a normal X vs Y CAT plot, but then randomises Y, B times to get a permuted distribution of overlaps.
1 2 3 |
labels |
the name of of each GSEA run. must be same length as ..., or gsea.list. |
B |
the number of permutations. default=100 |
sizes |
Controls the granularity of the CAT plot. see details |
sizes.random |
Controls the granulatity of the randomised CAT plot. Since this gets done B times, this setting can really impact the speed of this function. See details. |
random.col |
the fill colour for the random background |
ylim |
see |
proportion |
if |
pch |
the print character. see |
legend.pos |
the legend position. see |
... |
at least 2 GSEA objects |
Controlling the granularity of the CAT plot with sizes and sizes.random
“sizes” controls the granularity of the CAT plot.
If sizes=NULL
, then sizes = 1,2,3,4,...,N, where N is the
total number of genesets. This gives a very detailed CAT plot, but if this is too slow,
try setting sizes=seq(0,N,5)
.
Same goes for sizes.random, but since there are B randomisations, this setting has more of an impact
upon the speed of this code. typically with just ~1400 genesets, it's fast enough to calculate on all
values from 1 to N, however: sizes=seq(0,N,5)
, or sizes=seq(0,N,10)
will be much quicker.
Mark Cowley
catplot.vs.random
, catplot.GSEA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.