If the GMT file contains empty lines it creates empty gene sets.
[126] "SRP102542: Genes expressed differentially in old people who do resistance training: downregulated"
[127] ""
[128] "SRP101810: bulk-cell RNA-seq of anti-CD3 anti-CD28 monoclonal antibodies stimulated T cell clone versus GAD peptide-loaded tetramer stimulated T cell clone: downregulated"
The solution is to remove empty lines as they are read in
If the GMT file contains empty lines it creates empty gene sets.
[126] "SRP102542: Genes expressed differentially in old people who do resistance training: downregulated"
[127] ""
[128] "SRP101810: bulk-cell RNA-seq of anti-CD3 anti-CD28 monoclonal antibodies stimulated T cell clone versus GAD peptide-loaded tetramer stimulated T cell clone: downregulated"
The solution is to remove empty lines as they are read in