Learn R Programming

rPDBapi (version 2.1.1)

DefaultOperator: Create a Default Search Operator

Description

Constructs a `DefaultOperator` object for use in general search operations within the RCSB PDB. This operator is used when a simple, non-specific search operation is needed, based on a single value. The `DefaultOperator` can be employed in scenarios where the search criteria do not require complex conditions or additional logic.

Usage

DefaultOperator(value)

Value

An object of class `DefaultOperator` representing the default search operator. This object can be used directly in query formulations or further manipulated within complex search logic.

Arguments

value

The value to be used in the search operation. This is the key criterion for the search and should be a valid string or numeric value that the search will use as the matching term.

Examples

Run this code
# Create a basic search operator with a specific value
operator <- DefaultOperator("4HHB")
print(operator)

Run the code above in your browser using DataLab