Description Usage Arguments Value Examples
View source: R/All-functions.R
Function to compute contingency 2x2 matrix by the partition of the two gene ID lists according to the presence or absence of the terms in these list in a ChIP-Seq binding database.
1 2 | contingency_matrix(test_list, control_list,
chip_index = get_chip_index())
|
test_list |
List of gene Entrez IDs |
control_list |
If not provided, all human genes not present in test_list will be used as control. |
chip_index |
Output of the function <e2><80><9c>get_chip_index<e2><80><9d>, a data frame containing accession IDs of ChIPs on the database and the TF each one tests. If not provided, the whole internal database will be used |
List of contingency matrices, one CM per element in chip_index (i.e. per ChIP-seq dataset).
1 2 | data('Genes.Upreg',package = 'TFEA.ChIP')
CM_list_UP <- contingency_matrix(Genes.Upreg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.