This protocol was generated using SAMv0.7.4 and the Windows version of GSEAv4.1
Run SAM analysis.
Save the resulting SAM weights (sorted in descending order) to a tabular ‘.rnk’ file: `sam.adata.var[‘weights’].sort_values(ascending=False).to_csv(‘filename.rnk’,sep=’\t’)`, where `sam` is the SAM object.
Open the `.rnk` file in a text editor and add a “#” to the first header row to comment it out.
Click on “RUN GSEAPreranked” in the GSEA interface.
Choose the Gene sets database of interest (e.g. “h.all.v7.1.symbols.gmt [Hallmarks]”)
In the SAM study, we did not remap or collapse the gene symbols (“No_Collapse”). Other datasets with different gene IDs may want to remap their IDs to standardized gene symbols. In this case, select “Remap_Only” and choose the associated chip file (a table that translates each of your identifiers to a standardized gene symbol).
Choose parameters such as number of permutations, maximum set size, minimum set size, enrichment statistic, etc. We chose the “weighted” enrichment statistic, set the minimum set size to be 5, and used default parameters for everything else.
Click the ‘Run’ button.
The job should show up in the ‘GSEA Reports Processes’ panel. When it completes, click on the green ‘Success’, and an HTML report should show up.
From here, the upregulated and downregulated enrichment results can be downloaded in TSV format.
Copyright: Content may be subjected to copyright.
How to cite:
Readers should cite both the Bio-protocol preprint and the original research article where this protocol was used:
Tarashansky, A J and Wang, B(2020). Gene set enrichment analysis (GSEA). Bio-protocol Preprint. bio-protocol.org/prep425.
Tarashansky, A. J., Xue, Y., Li, P., Quake, S. R. and Wang, B.(2019). Self-assembling manifolds in single-cell RNA sequencing data. eLife. DOI: 10.7554/eLife.48994
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this
article to respond.
0/150
Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.
Spinning
Post a Question
0 Q&A
Spinning
This protocol preprint was submitted via the "Request
a Protocol" track.