CTS.externalIdSubset {RMassBank} | R Documentation

## Select a subset of external IDs from a CTS record.

### Description

Select a subset of external IDs from a CTS record.

### Usage

    CTS.externalIdSubset(data, database)

### Arguments

`data` | The complete CTS record as retrieved by `getCtsRecord`.
`database` | The database for which keys should be returned.

### Value

Returns an array of all external identifiers stored in the record for the given database.

### Author(s)

Michele Stravs, Eawag <stravsmi@eawag.ch>

### Examples

    ## Not run:
    # Return all CAS registry numbers stored for benzene.
    data <- getCtsRecord("UHOVQNZJYSORNB-UHFFFAOYSA-N")
    cas <- CTS.externalIdSubset(data, "CAS")

    ## End(Not run)

[Package RMassBank version 3.0.0 Index]