inst/unitTests/test_get_annotations.R

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)

}
fritz616/STRINGdb_mod documentation built on March 9, 2021, 11:37 p.m.