
Compute chemical descriptors from SMILES
Source:R/compute_chem_descriptors.R
compute_chem_descriptors.Rd
This function parses SMILES strings and computes chemical descriptors using rcdk.
It stores cleaned, non-redundant descriptors in tools$chem_descriptors
.
Examples
if (FALSE) { # \dontrun{
mock_data <- tibble::tibble(
Treatment_1 = c("Aspirin", "Caffeine", "NonExistentCompound_123")
)
result <- compute_smiles(mock_data)
data <- compute_chem_descriptors(result, descriptors =
"org.openscience.cdk.qsar.descriptors.molecular.FractionalCSP3Descriptor")
} # }