set_user_data: Sets the data objects as default.

Description Usage Arguments Value Examples

View source: R/All-functions.R

Description

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

Usage

1
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 <e2><80><93> if the ChIP-Seq has a peak assigned to that gene <e2><80><93> or 0 <e2><80><93> if it hasn<e2><80><99>t <e2><80><93>.

Value

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

Examples

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

TFEA.ChIP documentation built on Nov. 8, 2020, 5:05 p.m.