rank_response_plot: Given expresion and binding signal, plot the rank response a...

View source: R/callingCardsFunctions.R

rank_response_plotR Documentation

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

Description

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

Usage

rank_response_plot(
  expression_df_list,
  binding_df_list,
  tf,
  random_ratio,
  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


BrentLab/brentlabRnaSeqTools documentation built on Aug. 20, 2023, 9:22 a.m.