code: def annotate_hl_result_table_logistic(result_table):
      result_table = result_table.annotate(
          z_results=hl.zip(
              result_table["phenotypes"],
              result_table["logistic_regression"]["p_value"],
              result_table["logistic_regression"]["beta"],
              result_table["logistic_regression"]["chi_sq_stat"],
          )
      )
  
      result_table = result_table.explode("z_results")
  
      result_table = result_table.annotate(
          phenotype=result_table["z_results"][0],
          p_value=result_table["z_results"][1],
          beta=result_table["z_results"][2],
          chi_sq_stat=result_table["z_results"][3],
      ).drop("z_results")
  
      return result_table
  
label_desc: Use image node_id 4 for calling a global function with example usage: annotate_hl_result_table_logistic(result_table) and returns: result_table