Skip to contents

Pure. One row per queried identifier.

Usage

string_parse_ids(body)

Arguments

body

A parsed STRING get_string_ids response, a JSON array.

Value

A tibble of query, preferred, and string_id, with query and preferred upper-cased.

References

Szklarczyk et al. (2023). The STRING database in 2023: protein-protein association networks and functional enrichment analyses for any sequenced genome of interest. Nucleic Acids Research 51(D1), D638-D646. doi:10.1093/nar/gkac1000

Service documentation: https://string-db.org/

Examples

body <- list(list(
  queryItem = "SEPTIN9", preferredName = "SEPT9",
  stringId = "9606.ENSP00000329125"
))
string_parse_ids(body)
#> # A tibble: 1 × 3
#>   query   preferred string_id           
#>   <chr>   <chr>     <chr>               
#> 1 SEPTIN9 SEPT9     9606.ENSP00000329125