View source: R/All-functions.R
set_user_data | R Documentation |
Function to set the data objects provided by the user as default to the rest of the functions.
set_user_data(metadata, ChIPDB)
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'. |
sets the user's metadata table and TFBS matrix as the variables 'MetaData' and 'ChIPDB', used by the rest of the package.
data( 'MetaData', 'ChIPDB', package='TFEA.ChIP' )
# For this example, we will usethe variables already included in the
# package.
set_user_data( MetaData, ChIPDB )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.