Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SMARTS patterns to a .csv file #114

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Move SMARTS patterns to a .csv file #114

wants to merge 4 commits into from

Conversation

Aariq
Copy link
Collaborator

@Aariq Aariq commented Aug 6, 2024

This closes #112 by moving the SMARTS patterns previously defined in get_fx_groups.R into a .csv file in data-raw/. This csv file is used to build a user-facing data set and add a named vector of SMARTS patterns to the package internal data for use in get_fx_groups().

The user-facing data.frame, smarts_simpol1 documents the column name in the output of get_fx_groups(), SMARTS pattern (if applicable), the function or calculation used to count the functional group, and any notes about how counts are corrected or what the pattern captures.

The internal dataset, smarts_patterns_simpol1 replaces all the SMARTS patterns defined in get_fx_groups().

@Aariq
Copy link
Collaborator Author

Aariq commented Aug 6, 2024

devtools::check() passes on my mac, so probably safe to ignore failing check

@Aariq

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move SMARTS strings into a dataset
1 participant