Difference between revisions of "FAQ"

From GeneSetEnrichmentAnalysisWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
<p class="MsoListContinue">The Kolmogorov-Smirnov statistic is slightly more suitable for less coherent data because it takes relatively fewer significant items to score well. The [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/subramanian_tamayo_gsea_pnas.pdf Gene Set Enrichment Analysis PNAS paper] discusses the use of this statistic in detail (see the section titled Adjusting for Variation in Gene Set Size in the supplemental information).</p>
 
<p class="MsoListContinue">The Kolmogorov-Smirnov statistic is slightly more suitable for less coherent data because it takes relatively fewer significant items to score well. The [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/subramanian_tamayo_gsea_pnas.pdf Gene Set Enrichment Analysis PNAS paper] discusses the use of this statistic in detail (see the section titled Adjusting for Variation in Gene Set Size in the supplemental information).</p>
 
<h4>How does GSEA rank the genes in my dataset?</h4>
 
<h4>How does GSEA rank the genes in my dataset?</h4>
<p class="MsoListContinue">By default, GSEA uses the signal-to-noise metric to rank the genes. Optionally, use the <em>Metric for ranking genes</em> parameter to select the ranking metric that you want GSEA to use.&nbsp; For more information, see the <em>Metric for ranking genes</em> parameter on the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA Page] in the <em style="">GSEA User Guide</em>. <br /></p>
+
<p class="MsoListContinue">By default, GSEA uses the signal-to-noise metric to rank the genes. Optionally, use the <em>Metric for ranking genes</em> parameter to select the ranking metric that you want GSEA to use.&nbsp; For more information, see the <em>Metric for ranking genes</em> parameter on the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA Page] in the <em style="">GSEA User Guide</em>. <br />
 +
</p>
 
<h4>Can I use GSEA to analyze my own ranked list of genes?</h4>
 
<h4>Can I use GSEA to analyze my own ranked list of genes?</h4>
 
<p class="MsoListContinue">Yes. Use the GseaPreranked analysis to run the gene set enrichment analysis against your own ranked list of genes. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_GSEAPreranked_Page GSEAPreranked Page] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">Yes. Use the GseaPreranked analysis to run the gene set enrichment analysis against your own ranked list of genes. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_GSEAPreranked_Page GSEAPreranked Page] in the <em style="">GSEA User Guide</em>.</p>
 
<h4>Can I use GSEA to compare two datasets?</h4>
 
<h4>Can I use GSEA to compare two datasets?</h4>
<p class="MsoListContinue">Yes. Create a gene set that contains the top genes from the first dataset and use GSEA to analyze that gene set against the second dataset. Similarly, create a gene set that contains the top genes from the second dataset and use GSEA to analyze that gene set against the first dataset. For example, you might analyze the top 100 genes from each dataset. <br /></p>
+
<p class="MsoListContinue">Yes. Create a gene set that contains the top genes from the first dataset and use GSEA to analyze that gene set against the second dataset. Similarly, create a gene set that contains the top genes from the second dataset and use GSEA to analyze that gene set against the first dataset. For example, you might analyze the top 100 genes from each dataset. <br />
 +
</p>
 
<h4>Can I use GSEA to analyze a dataset that contains a single sample?</h4>
 
<h4>Can I use GSEA to analyze a dataset that contains a single sample?</h4>
 
<p class="MsoListContinue">Yes.&nbsp; However, GSEA has no way of ranking the genes in such a dataset. Therefore, you must rank the genes and then use GSEA to analyze the ranked list of genes. For more information, see the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?GSEA_Preranked_Page GSEA Preranked Page] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">Yes.&nbsp; However, GSEA has no way of ranking the genes in such a dataset. Therefore, you must rank the genes and then use GSEA to analyze the ranked list of genes. For more information, see the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?GSEA_Preranked_Page GSEA Preranked Page] in the <em style="">GSEA User Guide</em>.</p>
 
<h4>Can I use GSEA to find pathways that correlate to the expression of my favorite gene?</h4>
 
<h4>Can I use GSEA to find pathways that correlate to the expression of my favorite gene?</h4>
<p class="MsoListContinue">Yes. In your phenotype file, create a continuous phenotype where the expression profile is that of your favorite gene. <br />You can have GSEA create the necessary phenotype for you: <span style="font-size: 9pt; font-family: Arial;">on the Run GSEA page, click the ... button next to the </span><span style="font-size: 9pt; font-family: Arial; font-style: italic;">Phenotype labels </span><span style="font-size: 9pt; font-family: Arial;">parameter; when GSEA prompts you to select a phenotype, click the </span><span style="font-size: 9pt; font-family: Arial;"><span style="font-style: italic;">Use a gene as the phenotype</span> button to have GSEA create a continuous phenotype for your gene.</span> For more information, see the <span style="font-size: 9pt; font-family: Arial; font-style: italic;">Phenotype labels</span> parameter on the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA Page] in the <em style="">GSEA User Guide</em>.<br /></p>
+
<p class="MsoListContinue">Yes. In your phenotype file, create a continuous phenotype where the expression profile is that of your favorite gene. <br />
 
+
You can have GSEA create the necessary phenotype for you: <span style="font-size: 9pt; font-family: Arial;">on the Run GSEA page, click the ... button next to the </span><span style="font-size: 9pt; font-family: Arial; font-style: italic;">Phenotype labels </span><span style="font-size: 9pt; font-family: Arial;">parameter; when GSEA prompts you to select a phenotype, click the </span><span style="font-size: 9pt; font-family: Arial;"><span style="font-style: italic;">Use a gene as the phenotype</span> button to have GSEA create a continuous phenotype for your gene.</span> For more information, see the <span style="font-size: 9pt; font-family: Arial; font-style: italic;">Phenotype labels</span> parameter on the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA Page] in the <em style="">GSEA User Guide</em>.<br />
 +
</p>
 
<h4>Can I use GSEA with gene sets that have both up- and down-regulated genes?</h4>
 
<h4>Can I use GSEA with gene sets that have both up- and down-regulated genes?</h4>
 
<p>The GSEA software does not yet support this, but you can use the enrichment statistic with gene sets that include both up- and down-regulated genes. For one approach, see [http://www.sciencemag.org/cgi/reprint/313/5795/1929.pdf Lamb, et. al. (2006)].</p>
 
<p>The GSEA software does not yet support this, but you can use the enrichment statistic with gene sets that include both up- and down-regulated genes. For one approach, see [http://www.sciencemag.org/cgi/reprint/313/5795/1929.pdf Lamb, et. al. (2006)].</p>
 
 
<h4>How do I cite GSEA?</h4>
 
<h4>How do I cite GSEA?</h4>
 
For information on how to cite the gene set enrichment analysis, GSEA software, and/or MSigDB, please see [[Gsea_Citation]].
 
For information on how to cite the gene set enrichment analysis, GSEA software, and/or MSigDB, please see [[Gsea_Citation]].
Line 31: Line 33:
 
<h4>What gene sets are available? Can I create my own gene sets?</h4>
 
<h4>What gene sets are available? Can I create my own gene sets?</h4>
 
<p class="MsoListContinue">You can use the gene sets in the Molecular Signature Database (MSigDB) or create your own. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Preparing_Data_Files Preparing Data Files] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">You can use the gene sets in the Molecular Signature Database (MSigDB) or create your own. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Preparing_Data_Files Preparing Data Files] in the <em style="">GSEA User Guide</em>.</p>
 
 
<h4>How many genes should there be in a gene set?</h4>
 
<h4>How many genes should there be in a gene set?</h4>
 
<p class="MsoListContinue">GSEA automatically adjust the enrichment statistics to account for different gene set sizes, as described in the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/subramanian_tamayo_gsea_pnas_supp_info.pdf<span style="">&nbsp; </span>Supplemental Information] for the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/subramanian_tamayo_gsea_pnas.pdf Gene Set Enrichment Analysis PNAS paper]. </p>
 
<p class="MsoListContinue">GSEA automatically adjust the enrichment statistics to account for different gene set sizes, as described in the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/subramanian_tamayo_gsea_pnas_supp_info.pdf<span style="">&nbsp; </span>Supplemental Information] for the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/subramanian_tamayo_gsea_pnas.pdf Gene Set Enrichment Analysis PNAS paper]. </p>
Line 37: Line 38:
 
<p class="MsoListContinue">Duplicate genes in a gene set and duplicate gene sets both effect GSEA results. GSEA automatically removes duplicate genes from each gene set, but does not check for duplicate gene sets. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Gene_Sets Gene Sets] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">Duplicate genes in a gene set and duplicate gene sets both effect GSEA results. GSEA automatically removes duplicate genes from each gene set, but does not check for duplicate gene sets. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Gene_Sets Gene Sets] in the <em style="">GSEA User Guide</em>.</p>
 
<h4>Can GSEA analyze a gene set that contains genes that are not in my expression dataset?</h4>
 
<h4>Can GSEA analyze a gene set that contains genes that are not in my expression dataset?</h4>
<p class="MsoListContinue">The gene set enrichment analysis automatically restricts the gene sets to the genes in the expression dataset. The analysis report lists the gene sets and the number of genes that were included and excluded from the analysis.</p>
+
<p class="MsoListContinue">The gene set enrichment analysis automatically restricts the gene sets to the genes in the expression dataset. The analysis report lists the gene sets and the number of genes that were included and excluded from the analysis.<br />
 
+
</p>
<h4>How do I translate gene identifiers from one array platform to another? </h4>
 
<p class="MsoListContinue">GSEA provides a utility, Chip2Chip, which translates gene identifiers from one platform to another (for example, from Affymetrix to Agilent). For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Chip2Chip_Page Chip2Chip] in the <em style="">GSEA User Guide</em>.</p>
 
 
<h4>What array platforms does GSEA support? What can I do if GSEA does not support my platform?</h4>
 
<h4>What array platforms does GSEA support? What can I do if GSEA does not support my platform?</h4>
 
<p class="MsoListContinue">See [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Chip_Annotations DNA Chip (Array) Annotations] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">See [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Chip_Annotations DNA Chip (Array) Annotations] in the <em style="">GSEA User Guide</em>.</p>
Line 53: Line 52:
 
<p class="MsoNormal">The number of enriched gene sets depends on the structure of the data and the problem space. In general, one would expect to see at least a few gene sets enriched for a typical morphological or tissue-specific phenotype. If no enriched gene sets or a very large number of enriched gene sets pass the FDR threshold, first check that your gene sets and expression dataset use the same array format (see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_Consistent_Feature_Identifiers Consistent Feature Identifiers Across Data Files])&nbsp; and that you have used the appropriate permutation type and number of permutations (see the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_Run_GSEA_Page Run GSEA Page]). If you find no issues, consider the following:</p>
 
<p class="MsoNormal">The number of enriched gene sets depends on the structure of the data and the problem space. In general, one would expect to see at least a few gene sets enriched for a typical morphological or tissue-specific phenotype. If no enriched gene sets or a very large number of enriched gene sets pass the FDR threshold, first check that your gene sets and expression dataset use the same array format (see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_Consistent_Feature_Identifiers Consistent Feature Identifiers Across Data Files])&nbsp; and that you have used the appropriate permutation type and number of permutations (see the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_Run_GSEA_Page Run GSEA Page]). If you find no issues, consider the following:</p>
 
<ul>
 
<ul>
     <li><span style="font-family: &quot;Times New Roman&quot;;"><span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>No enriched gene sets of significance may indicate that, in fact, no gene sets are enriched. It may also be that you are analyzing too few samples, the biological signal in question is subtle, or the gene sets that you are analyzing do not represent the biology in question very well. You may still want to look at the top ranked gene sets, keeping in mind that these results provide weak evidence for potentially interesting hypotheses. You might also want to consider analyzing other gene sets or, if possible, additional samples. </li>
+
     <li><span style="font-family: &quot;Times New Roman&quot;;" />No enriched gene sets of significance may indicate that, in fact, no gene sets are enriched. It may also be that you are analyzing too few samples, the biological signal in question is subtle, or the gene sets that you are analyzing do not represent the biology in question very well. You may still want to look at the top ranked gene sets, keeping in mind that these results provide weak evidence for potentially interesting hypotheses. You might also want to consider analyzing other gene sets or, if possible, additional samples. </li>
     <li><span style="font-family: &quot;Times New Roman&quot;;"><span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"></span></span>Too many enriched gene sets of significance may indicate that, in fact, many gene sets are enriched between phenotypes. Perhaps the gene sets represent the same biological signal. You can check for this by looking for overlap in the leading-edge subsets within the gene sets [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_Running_a_Leading Running a Leading Edge Analysis]). Or, you might be seeing significant differences between the phenotypes due to technical artifacts, such as samples being run in different labs, by different operators, or against different arrays. As with too few enriched gene sets, you may still want to look at the top ranked gene sets, keeping in mind that these results provide potentially biased evidence for interesting hypotheses. You might also want to consider analyzing other gene sets or, if possible, additional samples. </li>
+
     <li><span style="font-family: &quot;Times New Roman&quot;;" />Too many enriched gene sets of significance may indicate that, in fact, many gene sets are enriched between phenotypes. Perhaps the gene sets represent the same biological signal. You can check for this by looking for overlap in the leading-edge subsets within the gene sets [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?_Running_a_Leading Running a Leading Edge Analysis]). Or, you might be seeing significant differences between the phenotypes due to technical artifacts, such as samples being run in different labs, by different operators, or against different arrays. As with too few enriched gene sets, you may still want to look at the top ranked gene sets, keeping in mind that these results provide potentially biased evidence for interesting hypotheses. You might also want to consider analyzing other gene sets or, if possible, additional samples. </li>
 
</ul>
 
</ul>
<p class="MsoListContinue">For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Interpreting_GSEA Interpreting GSEA] in the <em style="">GSEA User Guide</em>.<br /></p>
+
<p class="MsoListContinue">For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Interpreting_GSEA Interpreting GSEA] in the <em style="">GSEA User Guide</em>.<br />
 
+
</p>
 
<h4>What does it mean for a&nbsp; gene set to have a nominal p value of zero?</h4>
 
<h4>What does it mean for a&nbsp; gene set to have a nominal p value of zero?</h4>
 
<p class="MsoListContinue">A reported p value of zero (0.0) indicates an actual p-value of less than 1/number-of-permutations. For a more accurate p value, increase the number of permutations performed by the analysis. For more information about gene set enrichment analysis results, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Interpreting_GSEA Interpreting GSEA] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">A reported p value of zero (0.0) indicates an actual p-value of less than 1/number-of-permutations. For a more accurate p value, increase the number of permutations performed by the analysis. For more information about gene set enrichment analysis results, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Interpreting_GSEA Interpreting GSEA] in the <em style="">GSEA User Guide</em>.</p>
Line 63: Line 62:
 
<p class="MsoListContinue">The nominal p value estimates the significance of the observed enrichment score for a single gene set. However, when you are evaluating multiple gene sets, you must correct for multiple hypothesis testing. The FDR is the estimated probability that a gene set with a given enrichment score (normalized for gene set size) represents a false positive finding.</p>
 
<p class="MsoListContinue">The nominal p value estimates the significance of the observed enrichment score for a single gene set. However, when you are evaluating multiple gene sets, you must correct for multiple hypothesis testing. The FDR is the estimated probability that a gene set with a given enrichment score (normalized for gene set size) represents a false positive finding.</p>
 
<p class="MsoListContinue">Generally, when your top gene sets have small nominal p values and high FDRs, it is because they are not as significant when compared with other gene sets in the empirical null distribution. This could be because you do not have enough samples, the biological signal is subtle, or the gene sets do not represent the biology in question very well. Also, the FDR is based on all gene sets; if only one of many gene sets is enriched, that gene set is likely to have a high FDR.</p>
 
<p class="MsoListContinue">Generally, when your top gene sets have small nominal p values and high FDRs, it is because they are not as significant when compared with other gene sets in the empirical null distribution. This could be because you do not have enough samples, the biological signal is subtle, or the gene sets do not represent the biology in question very well. Also, the FDR is based on all gene sets; if only one of many gene sets is enriched, that gene set is likely to have a high FDR.</p>
<p class="MsoListContinue">For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Interpreting_GSEA Interpreting GSEA] in the <em style="">GSEA User Guide</em>.<br /></p>
+
<p class="MsoListContinue">For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Interpreting_GSEA Interpreting GSEA] in the <em style="">GSEA User Guide</em>.<br />
 +
</p>
 
<h4>What is the difference between the weighted statistic and the classic statistic? Which should I use?</h4>
 
<h4>What is the difference between the weighted statistic and the classic statistic? Which should I use?</h4>
 
See the description of the <em>Enrichment statistic</em> parameter on the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA Page] in the <em style="">GSEA User Guide</em>.
 
See the description of the <em>Enrichment statistic</em> parameter on the [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA Page] in the <em style="">GSEA User Guide</em>.
Line 70: Line 70:
 
<h4>Why do some of the example datasets contain negative expression values? </h4>
 
<h4>Why do some of the example datasets contain negative expression values? </h4>
 
<p class="MsoListContinue">Because in older releases of Affymetrix gene chips expression values were trimmed averages over match and mismatched probes. If the mismatch probes were higher a negative number results.</p>
 
<p class="MsoListContinue">Because in older releases of Affymetrix gene chips expression values were trimmed averages over match and mismatched probes. If the mismatch probes were higher a negative number results.</p>
<p class="MsoListContinue"><br /></p>
+
<p class="MsoListContinue"><br />
 +
</p>
 
<h1>MSIGDB Gene Sets</h1>
 
<h1>MSIGDB Gene Sets</h1>
 
<h4>What is MSigDB?</h4>
 
<h4>What is MSigDB?</h4>
 
<p class="MsoListContinue">[http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/msigdb_index.html MSigDB], the Molecular Signature Database, contains curated gene sets for use with the gene set enrichment analysis. The GSEA team has begun the critical work of populating the MSigDb with curated gene sets. Increasing the number of gene sets increases the value of this resource; therefore, the GSEA team appreciates gene set contributions and encourages users to submit their gene sets to mailto:gsea@broad.mit.edu. For information about exporting gene sets from the MSigDB, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Gene_Sets Gene Sets] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">[http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/msigdb_index.html MSigDB], the Molecular Signature Database, contains curated gene sets for use with the gene set enrichment analysis. The GSEA team has begun the critical work of populating the MSigDb with curated gene sets. Increasing the number of gene sets increases the value of this resource; therefore, the GSEA team appreciates gene set contributions and encourages users to submit their gene sets to mailto:gsea@broad.mit.edu. For information about exporting gene sets from the MSigDB, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Gene_Sets Gene Sets] in the <em style="">GSEA User Guide</em>.</p>
 
<h4>What is the difference between gene sets in MSigDB and GO/BioCarta/GenMAPP?</h4>
 
<h4>What is the difference between gene sets in MSigDB and GO/BioCarta/GenMAPP?</h4>
<p style="text-align: left;" class="MsoListContinue">[http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/msigdb_index.html MSigDB] contains gene sets formatted for use with GSEA. MSigDB places emphasis on a genomic, unbiased approach to the definition of gene sets; therefore, an important component of MSigDB is the collection of gene sets from published expression profiles. Unlike gene sets curated from prior knowledge (such as, GO, BioCarta, and so on), experimental sets provide an unbiased readout of a biological state; experimental sets from microarray experiments reflect purely transcriptional events.  <font size="1" style="font-family: arial;"><font size="2"><font size="2"><span style="font-size: 12pt;"></span></font></font></font></p>
+
<p class="MsoListContinue" style="text-align: left;">[http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/msigdb_index.html MSigDB] contains gene sets formatted for use with GSEA. MSigDB places emphasis on a genomic, unbiased approach to the definition of gene sets; therefore, an important component of MSigDB is the collection of gene sets from published expression profiles. Unlike gene sets curated from prior knowledge (such as, GO, BioCarta, and so on), experimental sets provide an unbiased readout of a biological state; experimental sets from microarray experiments reflect purely transcriptional events.  <font size="1" style="font-family: arial;"><font size="2"><font size="2" /></font></font></p>
 
<h4>Does MSigDB include pathway diagrams?</h4>
 
<h4>Does MSigDB include pathway diagrams?</h4>
 
<p class="MsoListContinue">No.</p>
 
<p class="MsoListContinue">No.</p>
 
<h4>Does MSigDB include GO gene sets?</h4>
 
<h4>Does MSigDB include GO gene sets?</h4>
<p class="MsoListContinue">The C2 (curated) category of gene sets contains a subcategory called Ontologies, which contains the GO gene sets. For a complete description of these gene sets, see the&nbsp; [http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/cards_index.html Gene Set Cards].<br /></p>
+
<p class="MsoListContinue">The C2 (curated) category of gene sets contains a subcategory called Ontologies, which contains the GO gene sets. For a complete description of these gene sets, see the&nbsp; [http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/cards_index.html Gene Set Cards].<br />
 +
</p>
 
<h4>Why do some MSigDB gene sets have the same gene represented multiple times?</h4>
 
<h4>Why do some MSigDB gene sets have the same gene represented multiple times?</h4>
 
<p class="MsoListContinue">The gene sets reflect the information in the original source and no attempt to modify the definition of a gene set is done (except for eliminating obvious gene duplications).<span style="">&nbsp; </span>The gene sets defined in terms of gene symbols eliminate the duplication produced by multiple probes representing the same gene. </p>
 
<p class="MsoListContinue">The gene sets reflect the information in the original source and no attempt to modify the definition of a gene set is done (except for eliminating obvious gene duplications).<span style="">&nbsp; </span>The gene sets defined in terms of gene symbols eliminate the duplication produced by multiple probes representing the same gene. </p>
Line 85: Line 87:
 
<p class="MsoListContinue">GSEA provides a utility, Chip2Chip, which translates gene identifiers from one platform to another. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Chip2Chip_Page Chip2Chip] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">GSEA provides a utility, Chip2Chip, which translates gene identifiers from one platform to another. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Chip2Chip_Page Chip2Chip] in the <em style="">GSEA User Guide</em>.</p>
 
<h4>How do I find out more information about a particular MSigDB gene set?</h4>
 
<h4>How do I find out more information about a particular MSigDB gene set?</h4>
<p class="MsoListContinue">Each gene set is described by a [http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/cards_index.html Gene Set Card] on the GSEA web site.<br /></p>
+
<p class="MsoListContinue">Each gene set is described by a [http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/cards_index.html Gene Set Card] on the GSEA web site.<br />
 +
</p>
 
<h4>Can I use the MSigDB gene sets without using GSEA?</h4>
 
<h4>Can I use the MSigDB gene sets without using GSEA?</h4>
<p>&nbsp;Yes. You can download the gene sets from the [http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/msigdb_index.html MSigDB page] or access them programmatically by connecting annonymously to the Broad ftp server: ftp.broad.mit.edu://pub/cancer/gsea/gene_sets/all.may_2006.symbols.gmt.<br /></p>
+
<p>&nbsp;Yes. You can download the gene sets from the [http://www.broad.mit.edu/cancer/software/gsea_beta/msigdb/msigdb_index.html MSigDB page] or access them programmatically by connecting annonymously to the Broad ftp server: ftp.broad.mit.edu://pub/cancer/gsea/gene_sets/all.may_2006.symbols.gmt.<br />
 +
</p>
 
<h4>Is MSigDB available as a web service?</h4>
 
<h4>Is MSigDB available as a web service?</h4>
 
<p class="MsoListContinue">No for now.</p>
 
<p class="MsoListContinue">No for now.</p>
Line 94: Line 98:
 
<h4>How do I increase the amount of memory available to GSEA?</h4>
 
<h4>How do I increase the amount of memory available to GSEA?</h4>
 
<p class="MsoListContinue">On Windows, if launching via the desktop icon edit the following line in the gsea_home/gsea.lax file:</p>
 
<p class="MsoListContinue">On Windows, if launching via the desktop icon edit the following line in the gsea_home/gsea.lax file:</p>
<p class="MsoListContinue"><code><span style="font-size: 10pt;">lax.nl.java.option.java.heap.size.max=512m</span></code><br /><code><span style="font-size: 10pt;"></span></code></p>
+
<p class="MsoListContinue"><code><span style="font-size: 10pt;">lax.nl.java.option.java.heap.size.max=512m</span></code><br />
 +
<code /></p>
 
<p class="MsoListContinue">On Mac, Unix, or Windows, launch the application using a direct call to the jar file and add an -Xmx flag to the command line (run the command from the folder that contains the gsea2.jar file or specify the full path to the .jar file):</p>
 
<p class="MsoListContinue">On Mac, Unix, or Windows, launch the application using a direct call to the jar file and add an -Xmx flag to the command line (run the command from the folder that contains the gsea2.jar file or specify the full path to the .jar file):</p>
<code><span style="font-size: 10pt;">java -Xmx512m -jar gsea2.jar<br /></span></code><code style="font-family: arial;"><span style="font-size: 10pt;"></span></code>
+
<code><span style="font-size: 10pt;">java -Xmx512m -jar gsea2.jar<br />
 +
</span></code><code style="font-family: arial;" />
 
<p><code style="font-family: arial;"><span style="font-size: 10pt;">If increasing memory, you might try doubling the default value to 1024m. The maximum appears to be </span></code><span style="font-family: arial;">1800</span>m.</p>
 
<p><code style="font-family: arial;"><span style="font-size: 10pt;">If increasing memory, you might try doubling the default value to 1024m. The maximum appears to be </span></code><span style="font-family: arial;">1800</span>m.</p>
 
 
<h4>How do I run GSEA from the command line?</h4>
 
<h4>How do I run GSEA from the command line?</h4>
 
<p class="MsoListContinue">Yes. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Running_Command_Line Running GSEA from the Command Line] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">Yes. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Running_Command_Line Running GSEA from the Command Line] in the <em style="">GSEA User Guide</em>.</p>
<h4>How do I add GSEA to my microarray analysis pipeline?<br /></h4>
+
<h4>How do I add GSEA to my microarray analysis pipeline?<br />
<p>If you are using GenePattern pipelines ([http://www.broad.mit.edu/cancer/software/GenePattern/ http://www.broad.mit.edu/cancer/software/GenePattern/]), GSEA is available as a GenePattern analysis module.<br /><br />If you are implementing your own microarray analysis pipeline, GSEA can be run from the command line. Use full file specifications and the <span style="font-family: courier new;">-Dhome</span> parameter to ensure that you are reading data from and writing data to the desired locations. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Running_Command_Line Running GSEA from the Command Line] in the <span style="font-style: italic;">GSEA User Guide</span>.</p>
+
</h4>
 +
<p>If you are using GenePattern pipelines ([http://www.broad.mit.edu/cancer/software/GenePattern/ http://www.broad.mit.edu/cancer/software/GenePattern/]), GSEA is available as a GenePattern analysis module.<br />
 +
<br />
 +
If you are implementing your own microarray analysis pipeline, GSEA can be run from the command line. Use full file specifications and the <span style="font-family: courier new;">-Dhome</span> parameter to ensure that you are reading data from and writing data to the desired locations. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Running_Command_Line Running GSEA from the Command Line] in the <span style="font-style: italic;">GSEA User Guide</span>.</p>
 
<h4>Do I have to be connected to the internet to run GSEA software?</h4>
 
<h4>Do I have to be connected to the internet to run GSEA software?</h4>
 
<p class="MsoListBullet">You can use most functions in GSEA without being connected to the internet; for example, you can load files, run analyses, and review analysis results; however, you must be connected to the internet to access the GSEA web site (for example, to download gene sets or read the documentation). If you are working offline, clear the menu item <span style="font-style: italic;">Option&gt;Connect over the internet for gene sets.&nbsp; </span>By default, this item is selected and the <em><span style="font-family: Arial;">Gene sets database</span></em> parameter (on pages such as [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA]) displays gene sets available from the GSEA web site; clearing the menu item disables this feature and avoids the time-consuming attempts to connect to the internet.</p>
 
<p class="MsoListBullet">You can use most functions in GSEA without being connected to the internet; for example, you can load files, run analyses, and review analysis results; however, you must be connected to the internet to access the GSEA web site (for example, to download gene sets or read the documentation). If you are working offline, clear the menu item <span style="font-style: italic;">Option&gt;Connect over the internet for gene sets.&nbsp; </span>By default, this item is selected and the <em><span style="font-family: Arial;">Gene sets database</span></em> parameter (on pages such as [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Run_GSEA_Page Run GSEA]) displays gene sets available from the GSEA web site; clearing the menu item disables this feature and avoids the time-consuming attempts to connect to the internet.</p>
Line 109: Line 117:
 
<h4>What version of java do I need for GSEA software?</h4>
 
<h4>What version of java do I need for GSEA software?</h4>
 
<p class="MsoListContinue">Java 1.4 or later. Java 1.5 is recommended. If you do not have the correct version of Java installed when you start GSEA, an error message appears referring to an &quot;unsupported class version.&quot;</p>
 
<p class="MsoListContinue">Java 1.4 or later. Java 1.5 is recommended. If you do not have the correct version of Java installed when you start GSEA, an error message appears referring to an &quot;unsupported class version.&quot;</p>
<p class="MsoListContinue">For information about Java on Mac OS X, see [http://docs.info.apple.com/article.html?artnum=302412 http://docs.info.apple.com/article.html?artnum=302412].<br /></p>
+
<p class="MsoListContinue">For information about Java on Mac OS X, see [http://docs.info.apple.com/article.html?artnum=302412 http://docs.info.apple.com/article.html?artnum=302412].<br />
 +
</p>
 
<h4>Does GSEA have a programmatic API?</h4>
 
<h4>Does GSEA have a programmatic API?</h4>
 
<p>Yes. R and Java APIs are available on the [http://www.broad.mit.edu/cancer/software/gsea_beta/index.html GSEA web site].</p>
 
<p>Yes. R and Java APIs are available on the [http://www.broad.mit.edu/cancer/software/gsea_beta/index.html GSEA web site].</p>
 
<h4>How do I create the input files for GSEA in R?</h4>
 
<h4>How do I create the input files for GSEA in R?</h4>
 
<p class="MsoListContinue">The GSEA R code uses the gct, cls and gmt file formats for input. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Preparing_Data_Files Preparing Data Files] in the <em style="">GSEA User Guide</em>.</p>
 
<p class="MsoListContinue">The GSEA R code uses the gct, cls and gmt file formats for input. For more information, see [http://www.broad.mit.edu/cancer/software/gsea_beta/doc/GSEAUserGuideFrame.htm?Preparing_Data_Files Preparing Data Files] in the <em style="">GSEA User Guide</em>.</p>

Revision as of 14:52, 5 January 2007

Contents

GSEA Algorithm

What is the difference between GSEA and an overlap statistic (hypergeometric) analysis tool?

An overlap statistic analysis tool typically uses a threshold to define genes as members at the top or bottom of a ranked list of genes.  In contrast GSEA uses the list rank information without using a threshold. The introduction to the Gene Set Enrichment Analysis PNAS paper discusses the limitations of the former approach and how GSEA addresses them.

Why does GSEA use the Kolmogorov-Smirnov statistic rather than the Mann-Whitney test?

The Kolmogorov-Smirnov statistic is slightly more suitable for less coherent data because it takes relatively fewer significant items to score well. The Gene Set Enrichment Analysis PNAS paper discusses the use of this statistic in detail (see the section titled Adjusting for Variation in Gene Set Size in the supplemental information).

How does GSEA rank the genes in my dataset?

By default, GSEA uses the signal-to-noise metric to rank the genes. Optionally, use the Metric for ranking genes parameter to select the ranking metric that you want GSEA to use.  For more information, see the Metric for ranking genes parameter on the Run GSEA Page in the GSEA User Guide.

Can I use GSEA to analyze my own ranked list of genes?

Yes. Use the GseaPreranked analysis to run the gene set enrichment analysis against your own ranked list of genes. For more information, see GSEAPreranked Page in the GSEA User Guide.

Can I use GSEA to compare two datasets?

Yes. Create a gene set that contains the top genes from the first dataset and use GSEA to analyze that gene set against the second dataset. Similarly, create a gene set that contains the top genes from the second dataset and use GSEA to analyze that gene set against the first dataset. For example, you might analyze the top 100 genes from each dataset.

Can I use GSEA to analyze a dataset that contains a single sample?

Yes.  However, GSEA has no way of ranking the genes in such a dataset. Therefore, you must rank the genes and then use GSEA to analyze the ranked list of genes. For more information, see the GSEA Preranked Page in the GSEA User Guide.

Can I use GSEA to find pathways that correlate to the expression of my favorite gene?

Yes. In your phenotype file, create a continuous phenotype where the expression profile is that of your favorite gene.
You can have GSEA create the necessary phenotype for you: on the Run GSEA page, click the ... button next to the Phenotype labels parameter; when GSEA prompts you to select a phenotype, click the Use a gene as the phenotype button to have GSEA create a continuous phenotype for your gene. For more information, see the Phenotype labels parameter on the Run GSEA Page in the GSEA User Guide.

Can I use GSEA with gene sets that have both up- and down-regulated genes?

The GSEA software does not yet support this, but you can use the enrichment statistic with gene sets that include both up- and down-regulated genes. For one approach, see Lamb, et. al. (2006).

How do I cite GSEA?

For information on how to cite the gene set enrichment analysis, GSEA software, and/or MSigDB, please see Gsea_Citation.

GSEA Data Files

How do I create an expression dataset file? What types of expression data can I analyze?

GSEA can be used with expression data from any source; for example, two-color ratio data, CEL files, different species, and so on. However, all expression data must first be converted into a supported ASCII tab-delimited file format, such as  res, gct, or pcl file. Other formats can easily be converted to these by reformatting the header and other simple modifications, such as column renaming, done by using a standard text editor. For more information, see Preparing Data Files in the GSEA User Guide.

How do I filter or pre-process my dataset for GSEA?

While you generally do not want to filter your dataset based on expression values, you might want to minimize replicate samples and collapse probe sets. Collapsing the probe sets prevents multiple probes per gene from inflating the enrichment scores and facilitates the biological interpretation of analysis results. For more information, see Preparing Data Files in the GSEA User Guide.

How many samples do I need for GSEA?

This depends on your specific problem and data characteristics; however, as a rule of thumb, you typically want to analyze at least ten samples.

How do I create a phenotype label file? What types of experiments can I analyze?

GSEA can be used to analyze experiments of any type (including time-series, three or more classes, and so on). The phenotype labels (cls) ASCII file defines the experimental phenotypes and associates each sample in your dataset with one of those phenotypes. The cls file is an ASCII tab-delimited file, which you can easily create using a text editor. For more information, see Preparing Data Files in the GSEA User Guide.

What gene sets are available? Can I create my own gene sets?

You can use the gene sets in the Molecular Signature Database (MSigDB) or create your own. For more information, see Preparing Data Files in the GSEA User Guide.

How many genes should there be in a gene set?

GSEA automatically adjust the enrichment statistics to account for different gene set sizes, as described in the   Supplemental Information for the Gene Set Enrichment Analysis PNAS paper.

Can GSEA analyze a gene set that contains duplicate genes? duplicate gene sets?

Duplicate genes in a gene set and duplicate gene sets both effect GSEA results. GSEA automatically removes duplicate genes from each gene set, but does not check for duplicate gene sets. For more information, see Gene Sets in the GSEA User Guide.

Can GSEA analyze a gene set that contains genes that are not in my expression dataset?

The gene set enrichment analysis automatically restricts the gene sets to the genes in the expression dataset. The analysis report lists the gene sets and the number of genes that were included and excluded from the analysis.

What array platforms does GSEA support? What can I do if GSEA does not support my platform?

See DNA Chip (Array) Annotations in the GSEA User Guide.

GSEA Results

Where are the GSEA statistics (ES, NES, FDR, FWER, nominal p value) described?

For brief descriptions of the statistics that appear in the GSEA analysis report, see Interpreting GSEA in the GSEA User Guide. The Gene Set Enrichment Analysis PNAS paper also describes each of these statistics: for FDR and nominal p value, see the section titled Appendix: Mathematical Description of Methods; for FWER, see the section titled FWER in the supplemental information. 

Why does GSEA use a false discovery rate (FDR) of 0.25 rather than the more classic 0.05?

An FDR of 25% indicates that the result is likely to be valid 3 out of 4 times, which is reasonable in the setting of exploratory discovery where one is interested in finding candidate hypothesis to be further validated as a results of future research. Given the lack of coherence in most expression datasets and the relatively small number of gene sets being analyzed, using a more stringent FDR cutoff may lead you to overlook potentially significant results. For more information about gene set enrichment analysis results, see Interpreting GSEA in the GSEA User Guide.

Why does GSEA give me significant results with gene set (tag) permutation, but not with phenotype permutation?

Phenotype permutation generally provides a more stringent assessment of significance and produces fewer false positives. Which permutation type you should use depends on the number of samples that you are analyzing. For more information, see the description of the Permutation type parameter on the Run GSEA Page in the GSEA User Guide.

What should I do if I have no significant gene sets or too many significant gene sets?

The number of enriched gene sets depends on the structure of the data and the problem space. In general, one would expect to see at least a few gene sets enriched for a typical morphological or tissue-specific phenotype. If no enriched gene sets or a very large number of enriched gene sets pass the FDR threshold, first check that your gene sets and expression dataset use the same array format (see Consistent Feature Identifiers Across Data Files)  and that you have used the appropriate permutation type and number of permutations (see the Run GSEA Page). If you find no issues, consider the following:

  • No enriched gene sets of significance may indicate that, in fact, no gene sets are enriched. It may also be that you are analyzing too few samples, the biological signal in question is subtle, or the gene sets that you are analyzing do not represent the biology in question very well. You may still want to look at the top ranked gene sets, keeping in mind that these results provide weak evidence for potentially interesting hypotheses. You might also want to consider analyzing other gene sets or, if possible, additional samples.
  • Too many enriched gene sets of significance may indicate that, in fact, many gene sets are enriched between phenotypes. Perhaps the gene sets represent the same biological signal. You can check for this by looking for overlap in the leading-edge subsets within the gene sets Running a Leading Edge Analysis). Or, you might be seeing significant differences between the phenotypes due to technical artifacts, such as samples being run in different labs, by different operators, or against different arrays. As with too few enriched gene sets, you may still want to look at the top ranked gene sets, keeping in mind that these results provide potentially biased evidence for interesting hypotheses. You might also want to consider analyzing other gene sets or, if possible, additional samples.

For more information, see Interpreting GSEA in the GSEA User Guide.

What does it mean for a  gene set to have a nominal p value of zero?

A reported p value of zero (0.0) indicates an actual p-value of less than 1/number-of-permutations. For a more accurate p value, increase the number of permutations performed by the analysis. For more information about gene set enrichment analysis results, see Interpreting GSEA in the GSEA User Guide.

What does it mean for a gene set to have a small nominal p value (p<0.025), but a high FDR value (FDR=1)?

The nominal p value estimates the significance of the observed enrichment score for a single gene set. However, when you are evaluating multiple gene sets, you must correct for multiple hypothesis testing. The FDR is the estimated probability that a gene set with a given enrichment score (normalized for gene set size) represents a false positive finding.

Generally, when your top gene sets have small nominal p values and high FDRs, it is because they are not as significant when compared with other gene sets in the empirical null distribution. This could be because you do not have enough samples, the biological signal is subtle, or the gene sets do not represent the biology in question very well. Also, the FDR is based on all gene sets; if only one of many gene sets is enriched, that gene set is likely to have a high FDR.

For more information, see Interpreting GSEA in the GSEA User Guide.

What is the difference between the weighted statistic and the classic statistic? Which should I use?

See the description of the Enrichment statistic parameter on the Run GSEA Page in the GSEA User Guide.

Why are my results different from yours when I analyze the example datasets using GSEA?

You are using a different random number generator (for sample permutation) and different seeds for that random number generator, so the resulting numbers are different.

Why do some of the example datasets contain negative expression values?

Because in older releases of Affymetrix gene chips expression values were trimmed averages over match and mismatched probes. If the mismatch probes were higher a negative number results.


MSIGDB Gene Sets

What is MSigDB?

MSigDB, the Molecular Signature Database, contains curated gene sets for use with the gene set enrichment analysis. The GSEA team has begun the critical work of populating the MSigDb with curated gene sets. Increasing the number of gene sets increases the value of this resource; therefore, the GSEA team appreciates gene set contributions and encourages users to submit their gene sets to mailto:gsea@broad.mit.edu. For information about exporting gene sets from the MSigDB, see Gene Sets in the GSEA User Guide.

What is the difference between gene sets in MSigDB and GO/BioCarta/GenMAPP?

MSigDB contains gene sets formatted for use with GSEA. MSigDB places emphasis on a genomic, unbiased approach to the definition of gene sets; therefore, an important component of MSigDB is the collection of gene sets from published expression profiles. Unlike gene sets curated from prior knowledge (such as, GO, BioCarta, and so on), experimental sets provide an unbiased readout of a biological state; experimental sets from microarray experiments reflect purely transcriptional events.

Does MSigDB include pathway diagrams?

No.

Does MSigDB include GO gene sets?

The C2 (curated) category of gene sets contains a subcategory called Ontologies, which contains the GO gene sets. For a complete description of these gene sets, see the  Gene Set Cards.

Why do some MSigDB gene sets have the same gene represented multiple times?

The gene sets reflect the information in the original source and no attempt to modify the definition of a gene set is done (except for eliminating obvious gene duplications).  The gene sets defined in terms of gene symbols eliminate the duplication produced by multiple probes representing the same gene.

How do I use your gene sets to analyze data from my favorite array platform?

GSEA provides a utility, Chip2Chip, which translates gene identifiers from one platform to another. For more information, see Chip2Chip in the GSEA User Guide.

How do I find out more information about a particular MSigDB gene set?

Each gene set is described by a Gene Set Card on the GSEA web site.

Can I use the MSigDB gene sets without using GSEA?

 Yes. You can download the gene sets from the MSigDB page or access them programmatically by connecting annonymously to the Broad ftp server: ftp.broad.mit.edu://pub/cancer/gsea/gene_sets/all.may_2006.symbols.gmt.

Is MSigDB available as a web service?

No for now.

 

GSEA Software

How do I increase the amount of memory available to GSEA?

On Windows, if launching via the desktop icon edit the following line in the gsea_home/gsea.lax file:

lax.nl.java.option.java.heap.size.max=512m

On Mac, Unix, or Windows, launch the application using a direct call to the jar file and add an -Xmx flag to the command line (run the command from the folder that contains the gsea2.jar file or specify the full path to the .jar file):

java -Xmx512m -jar gsea2.jar

If increasing memory, you might try doubling the default value to 1024m. The maximum appears to be 1800m.

How do I run GSEA from the command line?

Yes. For more information, see Running GSEA from the Command Line in the GSEA User Guide.

How do I add GSEA to my microarray analysis pipeline?

If you are using GenePattern pipelines (http://www.broad.mit.edu/cancer/software/GenePattern/), GSEA is available as a GenePattern analysis module.

If you are implementing your own microarray analysis pipeline, GSEA can be run from the command line. Use full file specifications and the -Dhome parameter to ensure that you are reading data from and writing data to the desired locations. For more information, see Running GSEA from the Command Line in the GSEA User Guide.

Do I have to be connected to the internet to run GSEA software?

You can use most functions in GSEA without being connected to the internet; for example, you can load files, run analyses, and review analysis results; however, you must be connected to the internet to access the GSEA web site (for example, to download gene sets or read the documentation). If you are working offline, clear the menu item Option>Connect over the internet for gene sets.  By default, this item is selected and the Gene sets database parameter (on pages such as Run GSEA) displays gene sets available from the GSEA web site; clearing the menu item disables this feature and avoids the time-consuming attempts to connect to the internet.

What version of R do I need for GSEA software?

 Version 1.9 or later.

What version of java do I need for GSEA software?

Java 1.4 or later. Java 1.5 is recommended. If you do not have the correct version of Java installed when you start GSEA, an error message appears referring to an "unsupported class version."

For information about Java on Mac OS X, see http://docs.info.apple.com/article.html?artnum=302412.

Does GSEA have a programmatic API?

Yes. R and Java APIs are available on the GSEA web site.

How do I create the input files for GSEA in R?

The GSEA R code uses the gct, cls and gmt file formats for input. For more information, see Preparing Data Files in the GSEA User Guide.