rankDrivers | R Documentation |
Ranked plot of TF activators and repressors based on their inferred regulation score
rankDrivers( figR.d, rankBy = c("meanScore", "nTargets"), myLabels = NULL, score.cut = NULL, interactive = FALSE )
figR.d |
data.frame of results returned by |
rankBy |
character specifying one of "meanScore" or "nTargets" to either rank TFs by the mean regulation score across all genes, or by the total number of inferred activated or repressed targets passing a specified (absolute) regulation score, respectively |
myLabels |
character vector specifying the subset of TFs to highlight on the plot, if rankBy is set to "meanScore". Useful if you want to see where your TFs of interest lie. If NULL (Default), we label the top and bottom 95 percentile TFs |
score.cut |
numeric specifying the absolute regulation score to threshold TF-DORC connections on, only if rankBy is set to "nTargets". Default is 1 if "nTargets" and no custom cut-off is specified |
interactive |
boolean indicating whether or not to allow interactive hover-over utility for more label information (useful if visualizing too many TFs and labels are hard to distinguish). Default is FALSE |
a ggplot2 object of the resulting plot
Vinay Kartha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.