rna_majiq.PsiCoverage.approximate_discretized_pmf

PsiCoverage.approximate_discretized_pmf(nbins=40, midpoint_approximation=True, **indexer_kwargs)

Compute discretized PMF of approximate/smoothed bootstrap posterior

Parameters:
  • nbins (int) – Number of uniform bins on [0, 1] on which probability mass will be computed

  • midpoint_approximation (bool) – If midpoint_approximation, approximate PMF by computing unnormalized PDF over midpoints of uniform bins, then normalizing. Otherwise, use incomplete beta function.

  • indexer_kwargs ({dim: slice}, optional) – pairs of dimension names slices passed into isel() method on underlying xarray objects