dorcJPlot | R Documentation |
Function to visualize genes based on number of significant gene-peak correlations (per gene), used to define DORCs
dorcJPlot( dorcTab, cutoff = 7, labelTop = 25, returnGeneList = FALSE, cleanLabels = TRUE, labelSize = 4, ... )
dorcTab |
data.frame object containing significant peak-gene pairs using which DORC scores will be computed. Must be a filtered set returned from |
cutoff |
numeric indicating cut-off to use for number of significant peaks per gene to call it a DORC. Default is 7 significant peaks per gene. |
labelTop |
numeric indicating the number of top genes to add labels for. Setting this to a very high number can lead to plot rendering difficulties (since labels get crowded). |
returnGeneList |
boolean indicating whether to also return the DORCs passing the provided filter. Default is FALSE (will just plot and nothing else) |
cleanLabels |
boolean indicating whether or not to try to have cleaner DORC gene labels. If TRUE, uses |
labelSize |
numeric indicating what to set label size to. Default is 4. |
... |
additional parameters passed to either |
a ggplot object of the DORC J plot. If returnGeneList is set to TRUE, then also returns the vector of DORC genes passing the specified threshold
Vinay Kartha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.