1. library(GSEABase) # BiocManager::install('GSEABase')
    2. library(clusterProfiler)
    3. abc=c("A","B","C")
    4. gset <- c("GSEA_geneset","NA",abc)
    5. gset <- gset%>% as.data.frame() %>% t()
    6. write.table(gset,file = "GSEA_geneset.gmt",sep = "\t",row.names = F,col.names = F,quote = F)
    7. eneset <- read.gmt("GSEA_geneset.gmt") ##读取自制GSEA基因集