View source: R/All-functions.R
matrixDB_to_listDB | R Documentation |
Function to transform a ChIP-gene data base from the former binary matrix to the current list-based format.
matrixDB_to_listDB(Mat01)
Mat01 |
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 –. |
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'.
Mat01 <- matrix(
round( runif(9) ), nrow = 3,
dimnames= list( paste0("Gene ", 1:3), paste0("ChIPseq ", 1:3)) )
matrixDB_to_listDB( Mat01 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.