Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/FILTERING-post_mass_batch.R
Functionality to post up to 20 monoisotopic masses and their range to obtain a queryId
for use in chemspiderapi::get_mass_batch_queryId_status()
and chemspiderapi::get_mass_batch_queryId_results()
.
1 2 3 4 5 6 7 8 9 10 |
mass |
A vector of (double) numbers corresponding to the atomic (monoisotopic) masses you are inquiring. Has to be within the range of [1,11000]. |
range |
A vector of (double) numbers corresponding to the ranges for the above masses. Has to be within the range of [0.0001,0.001]. |
dataSources |
Optional: A character vector specifying which data source to use. Use |
orderBy |
A character vector indicating by which parameter to order. Defaults to |
orderDirection |
A character vector indicating in which direction to order; either |
apikey |
A 32-character string with a valid key for ChemSpider's API services. |
coerce |
|
simplify |
|
"If dataSources
is not specified, all known sources are searched. This will take longer.
Optionally, you can also submit orderBy
and orderDirection
to specify the sort order for the results. If you do not specify a value for orderBy
, results are sorted by recordId
by default.
Valid values for orderBy
are recordId
, massDefect
, molecularWeight
, referenceCount
, dataSourceCount
, pubMedCount
, rscCount
.
Valid values for orderDirection
are ascending
, descending
."
Returns the queryId string as (named) character vector.
Raoul Wolf (https://github.com/RaoulWolf/)
https://developer.rsc.org/compounds-v1/apis/post/filter/mass/batch
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.