code: def get_allele_frequencies(minor_allele_frequency):
      """
      given a list of `minor_allele_frequency`
      add in the reference allele frequency and return a list of frequencies
      """
      ref_allele_frequency = 1 - sum(minor_allele_frequency)
      allele_frequencies = [
          ref_allele_frequency
      ] + minor_allele_frequency
      return allele_frequencies
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_allele_frequencies(minor_allele_frequency) and returns: allele_frequencies