Make a barplot of the top transcription factors enriched by gprofileR.
make_TF_barplot(ordered_back_all_tf, top_tf =5)
Arguments
ordered_back_all_tf: Output of the g:profileR function.
top_tf: The number of transcription factors to be plotted.
Returns
make_TF_barplot A barplot of the number of "top_tf" tf names (not motifs), ranked by -log10(Pfdr).
Details
This function takes a gprofileR output and prints the top "top_tfs" most significantly enriched fdr adjusted p-values before plotting the rank of their p-values.