Skip to contents

Given expresion and binding signal, plot the rank response a la doi:

Usage

rank_response_plot(
  expression_df_list,
  binding_df_list,
  tf,
  lfc_thres = 0,
  padj_thres = 0.05
)

Arguments

expression_df_list

a NAMED list of gene expression dataframes. Each dataframe must have the following columns, at minimum: c('gene', "log2FoldChange", "padj"). Names of items in the list must correspond to the data source (eg, 'kemmeren', 'brentlab', etc)

binding_df_list

a NAMED list of gene expression dataframes. Each dataframe must have the following columns, at minimum: c('gene', 'binding_signal'). Names of items in the list must correspond to the data source (eg, 'chip-chip', 'calling-cards', etc)

tf

the name of the TF -- this will be the plot title

lfc_thres

expression log2foldchange threshold. default is 0

padj_thres

expression padj threshold. default is .05

Value

a ggplot object rank response plot