get_info {rPDBapi}R Documentation

Retrieve Information for a Given PDB ID

Description

This function looks up all information about a given PDB ID using the REST API. It handles JSON data and HTTP requests and converts old entry identifiers.

Usage

get_info(pdb_id, url_root = "https://data.rcsb.org/rest/v1/core/entry/")

Arguments

pdb_id

A 4-character string specifying a PDB entry of interest.

url_root

The root URL for the specific request type. Default is 'https://data.rcsb.org/rest/v1/core/entry/'.

Value

An ordered dictionary (list in R) object corresponding to entry information. Returns NULL if retrieval fails.

Examples

get_info(pdb_id = "4HHB")

[Package rPDBapi version 1.3 Index]