View source: R/ladder plot with ks p-value.R
ladder.plot | R Documentation |
ladder plot with ks p-value
ladder.plot(z, title, metric, ladder_color, cex = 1.5, latexpdf_flag = 0)
z |
dataframe with list of genes (or similar) and metrics that can be used to rank the genes, and indication of the geneset membership based on the gene color (column with colname="color"; any color = member, "trnasparent" = non-member) |
title |
title for the plot, typically the name/description of the gene set used for the enrichment analysis |
metric |
parameter indicating the metric (column name) in dataframe z to be used to rank genes |
cex |
character enhancement factor - scales the font size |
latexpdf_flag |
used to create a formated pdf version of the genes or samples that make up the ladder rungs only turn latexpdf_flag on if latexpdf is installed and working |
RVAL
provided below the functions, at the end of the file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.