I have a long list (R) which contains genes, compounds and other things (gex; glycan).
"CDK4" "C01245" "PIK3R5" "C05981" "C01245" "MAPK1" "E2F1"
I'm working with some pathways retrieved from KEGG and I want to know which elements from this list are genes and which are not.
I need to convert gene symbols to KEGG id, so far compounds and other that are not genes can be identified, because those are already in KEGG IDs.
But this does not work with gene symbols.
Error in .getUrl(url, .flatFileParser) : Bad Request (HTTP 400).
I have tried using library(org.Hs.eg.db), but so far I have not been able to get the results that I expected.
Thanks for your time.