Displaying 1 result from an estimated 1 matches for "keggpathid2name".
2005 Feb 10
3
Using a number as a name to access a list
Hi
Dumb question time again, for which I apologise.
I have a variable that contains the following numerical text "04010".
This is the name to access a list:
> as.list(KEGGPATHID2NAME)$"04010"
[1] "MAPK signaling pathway"
Marvellous! Except I want to do that when "04010" is assigned to a
variable called path and I can't figure out how to do it!
> path <- "04010"
>
> # the original and best
> as.list(KEGGPATHID2NAME)$&...