spatialLIBD
spatialLIBD copied to clipboard
Confusing warning message in spatialLIBD::gene_set_enrichment
I greatly appreciate the funciton, just quickly pointing an minor issue - a confusing warning message.
Gene list with n < 25 may have insufficent power for enrichment analysis followed by gene lists with more than 25 genes.
There is due to an inconsistency between the min_gene at 25, and the actually checking of the gene sets which is 200. see the following code section
https://github.com/LieberInstitute/spatialLIBD/blob/8c0fcd8f2a47e5c9a863c3ee90b9f0d367198616/R/gene_set_enrichment.R#L86-L94
I appreciate your listening, and hard work on the package!