The error "object 'foldchanges' not found" suggests that the variable 'foldchanges' has not been defined or is not accessible in the current environment. To resolve this error, you need to make sure that the 'foldchanges' variable is defined and accessible before running the 'enrichKEGG' function. You can check if the variable exists by using the 'exists' function: 
if (exists("foldchanges")) {
 edo <- enrichKEGG(names(foldchanges), organism = 'hsa', pvalueCutoff = 0.05, qvalueCutoff = 0.05)
} else {
 # code to handle the case when 'foldchanges' is not defined
 # e.g. print an error message or define 'foldchanges' before running 'enrichKEGG'
}
 Make sure to define or load the 'foldchanges' variable before running the 'enrichKEGG' function.

R Error:

原文地址: https://www.cveoy.top/t/topic/pRQD 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录