set_user_data {TFEA.ChIP} | R Documentation |
Function to set the data objects provided by the user as default to the rest of the functions.
set_user_data(metadata, binary_matrix)
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 –. |
sets the user's metadata table and TFBS matrix as the variables 'MetaData' and 'Mat01', used by the rest of the package.
data('MetaData','Mat01',package='TFEA.ChIP') # For this example, we will usethe variables already included in the # package. set_user_data(MetaData,Mat01)