code: def qbinom(p, n):
      """
      quantile function for binomial with
      probability of success 0.5
      returns smallest k such that Prob(X <= k) >= p
      compare to R qbinom
      :param n: number
      :param p: quantile level
      :return: k
      """
  
      return binom.ppf(p, n, 0.5)
  
file_path: luminol/src/luminol/utils.py
imports: import csv
  import datetime
  import time
  from luminol import constants, exceptions
  from scipy.stats import binom
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: qbinom(p, n) and returns: binom