inst/unitTests/test_get_homologs_besthits.R

test_get_homologs_besthits <- function() {

  string_db <- STRINGdb$new( version="11", species=9606, score_threshold=400 ) 
  stringid = string_db$mp('CDK1') 
  homologs = string_db$get_homologs_besthits( stringid )
  checkTrue(nrow(homologs) > 0)

}

Try the STRINGdb package in your browser

Any scripts or data that you put into this service are public.

STRINGdb documentation built on March 10, 2021, 2 a.m.