dwnld_mol: Download molecule structure

Description Usage Arguments Value

View source: R/dwnld_mol.R

Description

dwnld_mol queries the NCI Chemical Identifier Resolver for a structure file corresponding to the name given. The file is saved in the directory provided as the path. The Chemical Identifier Resolver can be found at https://cactus.nci.nih.gov/chemical/structure.

Usage

1
dwnld_mol(mol, path, file_format = "SDF")

Arguments

mol

Name of molecule

path

Name of directory to save file

file_format

Type of file to download, default of "SDF". The full list of possible formats can be found in the Chemical Identifier Resolver.

Value

The function returns a data frame row corresponding to whether a file downloaded, received a warning, or received an error.


awqx/qsarr documentation built on Oct. 2, 2021, 7:05 a.m.