Using R I want to generate a list of genes only (without the accompanying text) from a pathway.
For example. If the input pathway is KEGG prostate cancer, I want my output to be a .csv list of the genes in that pathway. I tried:
but that gives me a list of the number and gene description along with the gene symbol and I want a list consisting of the gene symbol alone.
How do I get this?