View source: R/lapply_calc_hyper.R
lapply_calc_hyper | R Documentation |
calculate hypergeometric enrichment of genes in tissue and subsequent adjusting for multiple testing.
lapply_calc_hyper( data, reference, col.by = "tissue", bait = NULL, p.adj.method = "fdr", intersectN = T, verbose = F )
data |
proteomic data with gene and significant columns. |
reference |
table with col.by, gene, significant in columns. |
col.by |
string. What column contains the group? |
bait |
bait. String. Passed to |
p.adj.method |
Default is fdr. See p.adjust.methods in |
intersectN |
Boolean indicating if the total population should be the intersect of the two datasets, when calculating hypergeometric overlap. |
verbose |
print out progress |
## Not run: # check for enrichment in GTEx data(gtex_table) data(example_data) data = example_data %>% calc_mod_ttest %>% id_significant_proteins() gtex_enrichment = lapply_calc_hyper(data, gtex_table) gtex_enrichment ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.