You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: CBIG_TRBPC_subcortical_heatmap.m
    path of file: ./repos/CBIG/stable_projects/predict_phenotypes/ChenTam2022_TRBPC/figure_utilities/matrix_plots
    
    the code of the file until where you have to start completion: function CBIG_TRBPC_subcortical_heatmap(path_data, lim_cog, lim_pers, lim_mh)
% CBIG_TRBPC_subcortical_heatmap(path_data, lim_cog, lim_pers, lim_mh)
%
% This function will make heatmaps for the subcortical ROIs
%
% Required inputs:
% 
    
function
function colorscale = CBIG_GenerateColorscale(cmap)
    res = 140;
    if strcmp(cmap, 'red_yell')
        RGB_new = [255 255 255;
            255 236 94;
            232 208 28;
            181 148 0;
            181 97  0;
            181 51  0;
            181 0   0;
            117 0   0;
            0   0   0];
    end