searchToquery {ENCODExplorer} | R Documentation

## Convert searchEncode output in queryEncode output.

### Description

After processing to a basic search with the `searchEncode` function you can convert your result in a queryEncode output. Thus you can benefit from the collected metadata.

### Usage

    searchToquery(df = get_encode_df(), searchResults, quiet = TRUE)

### Arguments

`df` | `list` of two `data.frame` containing ENCODE experiment and dataset metadata.
`searchResults` | the results set generated from `searchEncode`
`quiet` | logical enables to switch off the result summary information when setting at TRUE.

### Details

The output is compatible with the dowload function.

### Value

a `list` of two `data.frame`s containing data about ENCODE experiments and datasets

### Examples

    search_res <- searchEncode(searchTerm = "switchgear elavl1", limit = "1")
    res <- searchToquery(searchResults = search_res, quiet = TRUE)

[Package ENCODExplorer version 2.14.0 Index]