set_user_data {TFEA.ChIP} | R Documentation

## Sets the data objects as default.

### Description

Function to set the data objects provided by the user as default to the rest of the functions.

### Usage

    set_user_data(metadata, binary_matrix)

### Arguments

`metadata` | Data frame/matrix/array contaning the following fields: 'Name','Accession','Cell','Cell Type','Treatment','Antibody','TF'.
`binary_matrix` | Matrix[n,m] which rows correspond to all the human genes that have been assigned an Entrez ID, and its columns, to every ChIP-Seq experiment in the database. The values are 1 – if the ChIP-Seq has a peak assigned to that gene – or 0 – if it hasn’t –.

### Value

sets the user's metadata table and TFBS matrix as the variables 'MetaData' and 'Mat01', used by the rest of the package.

### Examples

    data('MetaData','Mat01',package='TFEA.ChIP')
    # For this example, we will usethe variables already included in the
    # package.
    set_user_data(MetaData,Mat01)

[Package TFEA.ChIP version 1.14.0 Index]