code: def get_genetic_profiles(study_id, profile_filter=None):
      
      data = {'cmd': 'getGeneticProfiles',
              'cancer_study_id': study_id}
      df = send_request(**data)
      res = _filter_data_frame(df, ['genetic_profile_id'],
                               'genetic_alteration_type', profile_filter)
      genetic_profiles = list(res['genetic_profile_id'].values())
      return genetic_profiles
docs: Return all the genetic profiles (data sets) for a given study.
  
      Genetic profiles are different types of data for a given study. For
      instance the study 'cellline_ccle_broad' has profiles such as
      'cellline_ccle_broad_mutations' for mutations, 'cellline_ccle_broad_CNA'
      for copy number alterations, etc.
  
      Parameters
      ----------
      study_id : str
          The ID of the cBio study.
          Example: 'paad_icgc'
      profile_filter : Optional[str]
          A string used to filter the profiles to return.
          Will be one of:
          - MUTATION
          - MUTATION_EXTENDED
          - COPY_NUMBER_ALTERATION
          - MRNA_EXPRESSION
          - METHYLATION
          The genetic profiles can include "mutation", "CNA", "rppa",
          "methylation", etc.
  
      Returns
      -------
      genetic_profiles : list[str]
          A list of genetic profiles available  for the given study.