File: test_get_clusters.R

package info (click to toggle)
r-bioc-stringdb 2.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,572 kB
  • sloc: makefile: 5
file content (10 lines) | stat: -rw-r--r-- 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
test_get_enrichment <- function(){

  string_db <- STRINGdb$new( version="11.5", species=511145, score_threshold=800 ) 

  proteins <- string_db$get_proteins()
  hits <- proteins$protein_external_id[1:50]
  clusters <- string_db$get_clusters(hits)
  checkTrue(length(clusters) > 1)

}