def _download_study_quant(pdc_study_id):
    'Download PDC quantitative data for a particular study.'
    proteome_query = (('\n    query {\n        quantDataMatrix(pdc_study_id: "' + pdc_study_id) + '", data_type: "log2_ratio", acceptDUA: true)\n    }\n    ')
    result_json = _query_pdc(proteome_query)
    result_df = pd.DataFrame(result_json['data']['quantDataMatrix'])
    if (result_df.shape[1] != 0):
        result_df = result_df.set_index(result_df.columns[0]).transpose()
    else:
        raise PdcDownloadError(f'quantDataMatrix table returned for PDC study ID {pdc_study_id} was empty.')
    return result_df
Download PDC quantitative data for a particular study.
def _download_study_quant(pdc_study_id):
    
    proteome_query = (('\n    query {\n        quantDataMatrix(pdc_study_id: "' + pdc_study_id) + '", data_type: "log2_ratio", acceptDUA: true)\n    }\n    ')
    result_json = _query_pdc(proteome_query)
    result_df = pd.DataFrame(result_json['data']['quantDataMatrix'])
    if (result_df.shape[1] != 0):
        result_df = result_df.set_index(result_df.columns[0]).transpose()
    else:
        raise PdcDownloadError(f'quantDataMatrix table returned for PDC study ID {pdc_study_id} was empty.')
    return result_df