Skip to contents

Pure. Sorted by combined score, strongest first.

Usage

string_parse_partners(body)

Arguments

body

A parsed STRING interaction_partners response, a JSON array.

Value

A tibble of partner, score, and the four evidence channels experimental, database, coexpression, and textmining. NULL when there are no partners.

Examples

body <- list(list(
  preferredName_B = "SFN", score = 0.999,
  escore = 0.981, dscore = 0.75, ascore = 0, tscore = 0.859
))
string_parse_partners(body)
#> # A tibble: 1 × 6
#>   partner score experimental database coexpression textmining
#>   <chr>   <dbl>        <dbl>    <dbl>        <dbl>      <dbl>
#> 1 SFN     0.999        0.981     0.75            0      0.859