set_user_data: Sets the data objects as default.

View source: R/All-functions.R

set_user_dataR 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, ChIPDB)

Arguments

metadata

Data frame/matrix/array contaning the following fields: 'Name','Accession','Cell','Cell Type','Treatment','Antibody','TF'.

ChIPDB

List containing two elements: - Gene Keys: vector of gene IDs - ChIP Targets: list of vectors, one per ChIP-seq experiment in the, database, containing the putative targets assigned. Each target is coded as its position in the vector 'Gene Keys'.

Value

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

Examples

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

LauraPS1/TFEA.ChIP documentation built on April 21, 2023, 7:29 a.m.