test_get_enrichment <- function(){
string_db <- STRINGdb$new( version="11", species=9606, score_threshold=400 )
example <- string_db$mp(c('tp53', 'cdk2'));
enrichment = string_db$get_annotations(example)
checkTrue(nrow(enrichment) > 1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.