示例#1
0
def single_grp_avg(group_participants,
                   z_thresh,
                   p_thresh,
                   model_name,
                   output_dir=None):
    from CPAC.utils import create_fsl_flame_preset
    if not output_dir:
        import os
        output_dir = os.path.join(os.getcwd(), 'cpac_group_analysis')
    create_fsl_flame_preset.run(group_participants,
                                'all',
                                z_thresh,
                                p_thresh,
                                'single_grp',
                                output_dir=output_dir,
                                model_name=model_name)
示例#2
0
def tripled_two(group_participants,
                z_thresh,
                p_thresh,
                conditions,
                condition_type,
                model_name,
                output_dir=None):
    from CPAC.utils import create_fsl_flame_preset
    if not output_dir:
        import os
        output_dir = os.path.join(os.getcwd(), 'cpac_group_analysis')
    create_fsl_flame_preset.run(group_participants,
                                'all',
                                z_thresh,
                                p_thresh,
                                'tripled_two',
                                covariate=conditions,
                                condition_type=condition_type,
                                output_dir=output_dir,
                                model_name=model_name)
示例#3
0
def unpaired_two(group_participants,
                 z_thresh,
                 p_thresh,
                 pheno_file,
                 pheno_sub,
                 covariate,
                 model_name,
                 output_dir=None):
    from CPAC.utils import create_fsl_flame_preset
    if not output_dir:
        import os
        output_dir = os.path.join(os.getcwd(), 'cpac_group_analysis')
    create_fsl_flame_preset.run(group_participants,
                                'all',
                                z_thresh,
                                p_thresh,
                                'unpaired_two',
                                pheno_file=pheno_file,
                                pheno_sub_label=pheno_sub,
                                covariate=covariate,
                                output_dir=output_dir,
                                model_name=model_name)
示例#4
0
def single_grp_cov(pipeline_dir,
                   z_thresh,
                   p_thresh,
                   pheno_file,
                   pheno_sub,
                   covariate,
                   model_name,
                   output_dir=None,
                   group_participants=None):
    from CPAC.utils import create_fsl_flame_preset
    if not output_dir:
        output_dir = os.path.join(os.getcwd(), 'cpac_group_analysis')
    create_fsl_flame_preset.run(pipeline_dir,
                                'all',
                                z_thresh,
                                p_thresh,
                                'single_grp_cov',
                                group_participants,
                                pheno_file=pheno_file,
                                pheno_sub_label=pheno_sub,
                                covariate=covariate,
                                output_dir=output_dir,
                                model_name=model_name)