format_ae_specific_subgroup function

Format AE specific subgroup analysis