Created
October 13, 2015 09:21
-
-
Save pauca/cabed346d38607886717 to your computer and use it in GitHub Desktop.
R_chem_snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CAS -> smiles with CACTUS server | |
sapply(cas, function(id){ | |
require(RCurl) | |
return(getURL(paste("http://cactus.nci.nih.gov/chemical/structure/",id,"/smiles",sep=""))) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment