
Create Enrichment Logical Matrix
get_enrichment_logical_matrix.RdThis function takes the output from run_phenotype_enrichment and creates a logical
matrix indicating which genes are significantly associated with each phenotypic variable
based on adjusted p-values. The resulting matrix has genes as rows and phenotypic variables
as columns, with TRUE indicating significant association and FALSE otherwise.