dwnld_mol_list: Download multiple molecule structures

Description Usage Arguments Value

View source: R/dwnld_mol_list.R

Description

dwnld_mol_list is a wrapper for lapply and [dwnld_mol()]. It queries the NCI Chemical Identifier Resolver for structure files corresponding to the names given in a vector. Files are saved in the directory provided as the path. The output is a single data frame of the results.

Usage

1
dwnld_mol_list(mol_list, path, file_format = "SDF")

Arguments

mol_list

Character vector or list of molecule names

path

Name of directory to save the files

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

Data frame 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.