search_graphql {rPDBapi} | R Documentation |
Perform a GraphQL Query to RCSB PDB
Description
Executes a GraphQL query against the RCSB Protein Data Bank (PDB). It sends the query in JSON format and handles the HTTP response, including error checking.
Usage
search_graphql(graphql_json_query)
Arguments
graphql_json_query |
A list containing the GraphQL query in JSON format. |
Value
The parsed content of the response from the PDB.
Examples
graphql_json_query <- list(query = "{entries(entry_ids:
[\"4LZA\", \"5RU3\"]){cell {volume, angle_beta},
exptl {method}}}")
result <- search_graphql(graphql_json_query)
result
[Package rPDBapi version 1.3 Index]