NathanSkene / EWCE

Expression Weighted Celltype Enrichment. See the package website for up-to-date instructions on usage.
https://nathanskene.github.io/EWCE/index.html
53 stars 25 forks source link

Add check bootstrap_enrichment_test gene list not a factor #32

Closed Al-Murphy closed 2 years ago

Al-Murphy commented 3 years ago

Add check bootstrap_enrichment_test gene list not a factor, if so convert to character

Al-Murphy commented 3 years ago

The check can be added at the start of check_ewce_genelist_inputs on the hits vector

bschilder commented 2 years ago

Added this bit to check_ewce_genelist_inputs:

hits <- unique(as.character(hits))