clean_table {ENCODExplorer} | R Documentation

## Clean a data.frame that was produced by ENCODE REST API

### Description

`data.frame`s produced when converting JSON to `data.frame` with the `fromJSON` function will sometime have columns that are lists and/or columns that are `data.frames`.

### Usage

    clean_table(table)

### Arguments

`table` | The table produced by the `extract_table` function.

### Details

This function will either remove columns that are not relevant and convert columns to a vector or data.frame.

### Value

a `data.frame` corresponding to the cleaned version of the input `data.frame`.

[Package ENCODExplorer version 2.12.1 Index]