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: load_atlas.m
    path of file: ./repos/CanlabCore/CanlabCore/Data_extraction
    
    the code of the file until where you have to start completion: function atlas_obj = load_atlas(atlas_file_name_or_keyword, varargin)
% Load one of a collection of atlases by keyword
%
% atlas_obj = load_atlas(varargin)
%
% List of keywords/atlases available:
% -------------------------------------------------------------------------
% 'canlab2024_fine|_coarse][_fmriprep20|_fsl6][_1mm|_2mm]
%                                 'Combined atlas from other published, whole brain. Available in a fine or coarse (
    
function is a shell to collect them in a central registry.
% New atlases can be created by passing a file name (e.g., .nii file) or an fmri_data object
% and labels into the atlas( ) constructor method.
%
% Examples:
% -------------------------------------------------------------------------
% atlas_obj = load_atlas('thalamus');
% atlas_obj = load_atlas('Thalamus_atlas_combined_Morel.mat');morel
%
%

docustom = 0;
verbose = 1;
docreate = 0;

% optional inputs with default values
% -----------------------------------

for i = 1:length(varargin)
    if ischar(varargin{i})
        switch varargin{i}
            
            case 'noverbose', verbose = 0;
                
            case 'verbose', verbose = 1;
                
            otherwise, warning(['Unknown input string option:' varargin{i}]);
        end