Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


httk (version 2.6.0)

httk_chem_subset: 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)

Value

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

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.