httk_chem_subset: HTTK data chemical subsetting function

View source: R/utils.R

httk_chem_subsetR Documentation

HTTK data chemical subsetting function

Description

This function is meant to take any 'httk' data and subset it based on a list of chemicals provided. Main functionality is for speeding up the 'load_sipes2017', 'load_pradeep2020', 'load_dawson2021', 'load_honda2023', and similar phys-chem data files. However, it should be generalizable to any dataset with CAS/CASRN or DTXSID chemical identifiers.

Usage

httk_chem_subset(data, chem_include)

Arguments

data

Data frame, with chemical data, to be subset.

chem_include

(character vector) A character vector containing CAS/CASRN or DTXSID chemical identifiers to include in the data subset.

Value

A subset data set containing only the data rows for chemicals identified as those that should be included.


httk documentation built on June 8, 2025, 12:19 p.m.