Skip to contents

plot psi distribution for a cell group into histogram

Usage

psiHist.base(
  spliceOb,
  gene,
  site,
  cells = "all",
  alpha = NULL,
  beta = NULL,
  exprs_thresh = 5,
  binwidth = 0.05,
  low = "steelblue",
  high = "coral",
  mid = "whitesmoke",
  midpoint = NULL,
  binsize = 8
)

Arguments

spliceOb

a Splice object

gene

the name of specified gene

site

the selected site to be plot

cells

the cells to be included in the psi plot

alpha

the parameter alpha for fitted beta distribution for psi

beta

the parameter beta for fitted beta distribution for psi

exprs_thresh

the minimum gene expression required for psi calculation

binwidth

the bin size for the histogram ranging from (0,1]

low, high, mid

Colors for the bins to represent the mean gene count in each bin

midpoint

the gene count thresh to set the middle color

...

aesthetic parameters for ggplot

Value

a ggplot object of psi distribution histogram