Hi,
I have used camera (limma package) to do a gene set enrichment analysis with a gene set from MSigDB. I was wondering if there is any way I could use the results from camera to get the genes belonging to that list.
NGenes Correlation Direction PValue FDR
HALLMARK_E2F_TARGETS 201 -0.0047718432 Up 0.01676313 0.5229967
HALLMARK_PI3K_AKT_MTOR_SIGNALING 96 -0.0074777132 Down 0.03990746 0.5229967
HALLMARK_IL6_JAK_STAT3_SIGNALING 68 -0.0109702506 Down 0.04448435 0.5229967
HALLMARK_INTERFERON_ALPHA_RESPONSE 62 -0.0131317542 Down 0.04721300 0.5229967
For instance, HALLMARK_E2F_TARGETS has 201 genes. How can I find out which genes from my input gene identifiers belong to this list ?
Thanks
That did work. Thank you very much. But is there anyway to do it without knowing the indices ?
I have a shiny interface that loads up the precomputed camera results from an Rdata and I need the interface to display the gene list when each row is clicked on. I have the gene set and the camera results but not the indices.
You had to know the indices to do the camera analysis in the first place. If you want to re-access to them in the future, can you not simply store them in the RData file together with the camera output?
Obviously you can't list the genes in a set without knowing the indices because the indices define which genes are in the set.