QueryNode: Create a Query Node for RCSB PDB Searches

View source: R/search_client.R

QueryNodeR Documentation

Create a Query Node for RCSB PDB Searches

Description

The 'QueryNode' function constructs a query node, which can be either a terminal node (for a simple query) or a grouped node (for complex queries). This function is crucial for structuring queries that will be sent to the RCSB PDB search system.

Usage

QueryNode(search_operator, logical_operator = NULL)

Arguments

search_operator

A search operator or group object. This defines the criteria for the search.

logical_operator

A string specifying the logical operator to combine multiple queries. Default is 'NULL'. This is used only if the search_operator is a group.

Value

A list representing the query node, ready to be included in a larger query structure.

Examples


node <- QueryNode(search_operator = DefaultOperator("some_value"))


rPDBapi documentation built on Sept. 11, 2024, 6:37 p.m.