Skip to contents

plot the scatter plot for mean change versus variance change of exon psi between two cell groups

Usage

GLRT_sig_plot(
  data,
  gene_col = "gene",
  color_col = NULL,
  mean_diff = "mean_diff",
  var_diff = "var_diff",
  q = "q",
  mean_diff_thresh = 0.15,
  var_diff_thresh = 0.1,
  log_q_thresh = 3
)

Arguments

data

the GLRT result, a dataframe output from genes_groups_GLRT()

gene_col

The name of column in the data which stores the gene name

mean_diff

The name of column in the data which stores the mean difference of the psi distributions

var_diff

The name of column in the data which stores the variance difference of the psi distributions

q

The name of column in the data which stores the q value

mean_diff_thresh

the minimum of mean difference of psi to show the gene name in the scatter plot

var_diff_thresh

the minimum of variance difference of psi to show the gene name in the scatter plot

q_thresh

the minimum of -log(q,10) to show the gene name in the scatter plot

Value

a ggplot object