deepblue_name_to_id {DeepBlueR} | R Documentation

## name_to_id

### Description

Obtain the data ID(s) from the informed data name(s).

### Usage

    deepblue_name_to_id(name = NULL, collection = NULL,
      user_key = deepblue_options("user_key"))

### Arguments

`name` | - A string or a vector of string (ID or an array of IDs)
`collection` | - A string (Collection where the data name is in )
`user_key` | - A string (users token key)

### Value

information - A array or a vector of array (List of IDs.)

### See Also

Other Commands for all types of data: `deepblue_cancel_request`, `deepblue_info`, `deepblue_is_biosource`, `deepblue_list_in_use`, `deepblue_search`

### Examples

    deepblue_name_to_id("E002-H3K9ac.narrowPeak.bed", "experiments")
    deepblue_name_to_id("prostate duct", "biosources")
    deepblue_name_to_id("DNA Methylation", "Epigenetic_marks")

[Package DeepBlueR version 1.6.0 Index]