Giter Club home page Giter Club logo

sccluster_annotation_using_gsea's Introduction

scCluster_Annotation_using_GSEA

GSEA: https://www.gsea-msigdb.org/gsea/index.jsp
Generic scripts for pre-processing and running GSEA analysis.

1. scClusterAnnotation_GeneSetEnrichmentAnalysis.ipynb

There are various approaches to Cell Type annotation in single cell data for eg: GARNETT, SingleR etc. One of them is using Gene Set Enrichment Analysis (GSEA). This script exploits the Seurat functionality of FindAllMarkers for annotation of single cell Clusters.

STEP 1 creates ".gmt" (Example.gmt) file from a list of pre-acquired annotations.

STEP 2 uses the result of FindAllMarkers(from Seurat), to create ".rnk" (Example.rnk) files.

STEP 3 utilises the above 2 files to run GSEAPreranked v4.0.3 to annotate clusters to view which Gene Sets are relevant to a Cluster, thereby helping annotation.

STEP 4 creates a matrix to help summarise the results of GSEA analysis by parsing html results into a matrix format for each Cluster against each gene set, populating the values with "FDR q-val".

STEP 5 enables visualization of these results in the form of a HeatMap with Dendrogram to help categorize the similarities within clusters and also annotate them.

STEP 2 through STEP 5 contain sub-divisions based on the requirement to use Average log FC/ Absolute log FC/ Unweighted analysis respectively. STEP 0 enables clearing the environment of all the DataFrames to prevent incorrect results. It is imperative to run STEP 0 if running multiple cycles of STEP 4.

sccluster_annotation_using_gsea's People

Contributors

mihikasharma92 avatar

Stargazers

Kartika  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.