View source: R/HOMER_Comparison.R
compHOMER | R Documentation |
Function to compare two sets of HOMER known motif enrichment results Results from HOMER known TF motif enrichment analyses are ranked either by enrichment or significance and plotted for comparison
compHOMER(
xfile,
yfile,
title = "",
xlab = "x",
ylab = "y",
lab = T,
spec = NULL,
numLab = 5,
enrichment = F,
returnRes = F
)
xfile |
string of path to knownResults.txt file of a HOMER motif enrichment analysis |
yfile |
string of path to knownResults.txt file of another HOMER motif enrichment analysis |
title |
String indicating title of figure |
xlab |
String indicating the x-axis label (describing xfile). Default="x" |
ylab |
String indicating the y-axis label (describing yfile). Default="y" |
lab |
Boolean indicating if certain TFs should be labeled |
spec |
String vector indicating TFs of interest that should be labeled |
numLab |
Numeric indicating the number of top ranked TFs to be labeled (default=5) |
enrichment |
Boolean indicating if the results should be ranked by enrichment. FALSE ranks results by significance. Default=FALSE. |
returnRes |
Boolean indicating if data frame of results should be returned. Default=F. |
return |
Plot comparing HOMER results. Data frame of TFs and corresponding rankings and differences between those rankings. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.