Skip to contents

for significant difference of alternative splicing, this function calculates the earth-moving distance between the psi distribution of two cell populations and its confidence interval through bootstrap.

Usage

beta_dis(
  exon_count1,
  gene_count1,
  exon_count2,
  gene_count2,
  iters = 100,
  psi_num = 500
)

Arguments

exon_count1

a vector of exon count for cell population 1

gene_count1

a vector of gene count for cell population 1

exon_count2

a vector of exon count for cell population 2

gene_count2

a vector of gene count for cell population 2

iters

the number of iterations for bootstrap

psi_num

the sample size from two beta distributions to calculate the earth-moving distance

Value

a vector of the distance and its confidence interval