QueryGroup: Create a Grouped Query Object for RCSB PDB Searches

View source: R/search_client.R

QueryGroupR Documentation

Create a Grouped Query Object for RCSB PDB Searches

Description

The 'QueryGroup' function constructs a grouped query object that allows users to perform complex searches in the RCSB Protein Data Bank (PDB). This function is particularly useful when multiple query objects need to be combined using logical operators like 'AND' or 'OR'. The resulting grouped query can be used in advanced search operations to filter or combine results based on multiple criteria.

Usage

QueryGroup(queries, logical_operator)

Arguments

queries

A list of query objects to be grouped together. Each query object can be either a simple query or another grouped query.

logical_operator

A string specifying the logical operator to combine the queries. Common values are 'AND' and 'OR', but other logical operators may also be supported.

Value

A list representing the grouped query object, which can be passed to search functions for execution.


rPDBapi documentation built on Oct. 19, 2024, 5:08 p.m.