Description Usage Arguments Value Examples
View source: R/All-functions.R
Function to run a GSEA to analyze the distribution of TFBS across a sorted list of genes.
1 2 | GSEA_run(gene.list, LFC, chip_index = get_chip_index(),
get.RES = FALSE, RES.filter = NULL, perms = 1000)
|
gene.list |
List of Entrez IDs ordered by their fold change. |
LFC |
Vector of log2( Fold Change ) values. |
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 |
get.RES |
(Optional) boolean. If TRUE, the function stores Running Enrichment Scores of all/some TF. |
RES.filter |
(Optional) chr vector. When get.RES==TRUE, allows to choose which TF's Running Enrichment Score to store. |
perms |
Number of permutations for a permutation test. |
a list of: Enrichment.table: data frame containing accession ID, Cell type, ChIP-Seq treatment, transcription factor tested, enrichment score, raw and adjusted p-value, and argument of every ChIP-Seq experiment. RES (optional): list of running sums of every ChIP-Seq indicators (optional): list of 0/1 vectors that stores the matches (1) and mismatches (0) between the gene list and the gene set.
1 2 3 4 | data('hypoxia',package = 'TFEA.ChIP')
preprocessInputData(hypoxia)
chip_index<-get_chip_index(TFfilter = c('HIF1A','EPAS1','ARNT'))
GSEA.result <- GSEA_run( hypoxia$Genes, hypoxia$log2FoldChange, chip_index, get.RES = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.