Hello! I'm an undergrad working in a genetics lab right now and I'm trying to learn how to use clusterProfiler for a dot plot I'm trying to make! I've just finished up using compareCluster on two groups of genes I'm analyzing, and I'm trying to continue the process using the setReadable function. However, whenever I enter the command, the same error pops up. Does anyone know what I can do to get setReadable to run? I'm very new to R and am a bit stumped as to how to solve this issue. Any and all help would be super appreciated. Thanks for your time and understanding, and hopefully talk to someone soon!
-Lola
st <-clusterProfiler::compareCluster(genes, fun = "enrichKEGG",organism="dre",pvalueCutoff=0.05)
st <- clusterProfiler::setReadable(st, "org.Dr.eg.db", keyType = "ENTREZID")
Error in .testForValidKeys(x, keys, keytype, fks) :
'keys' must be a character vector