Querying STRINGdb for a set of given gene names, and plotting the network works fine:
require(STRINGdb) myDF <- data.frame(gene = c('AAAS', 'AACS', 'AAMP', 'AASS', 'ABCB7', 'ABCD4')) mapped <- string_db$map(myDF, 'gene', removeUnmappedRows = TRUE) string_db$plot_network(mapped$STRING_id)
Q: How to export this network to XML (for import into cytoscape)? I tried searching for such functionality, but couldn't find it:
STRINGdb$help("export") ls('package:STRINGdb') ?`STRINGdb-class` ?`STRINGdb
Very useful feedback, thanks a lot!