###perform gene set enrichment using Atlas as background to find factors genes are enriched for
#load the background files for the species of interest (requires downloading)
#load("human_gene_list.RData") #human_genelist_bg
#load("human_factor_counts.RData") #human_factor_counts
###creat or load your genelist of interest
genelist <- c("<http://identifiers.org/ensembl/ENSG00000184674>",
"<http://identifiers.org/ensembl/ENSG00000138193>",
"<http://identifiers.org/ensembl/ENSG00000229807>",
"<http://identifiers.org/ensembl/ENSG00000106546>",
"<http://identifiers.org/ensembl/ENSG00000163430>", "<http://identifiers.org/ensembl/ENSG00000145817>", "<http://identifiers.org/ensembl/ENSG00000003756>",
"<http://identifiers.org/ensembl/ENSG00000177731>")
###do enrichment
#results <- doFishersEnrichment(genelist, human_genelist_bg, human_factor_counts)
Run the code above in your browser using DataLab