Welcome to geLine. geLine is an interactive tool for visualizing gene expression trajectories across the neuronal lineage of olfactory sensory neurons (OSNs). The app is also hosted at geLine on render for immediate usage. However, for faster response and usage, please follow the local usage instructions below.
geLine allows users to explore gene expression patterns in OSNs through various functionalities. Users can input a subject gene and query genes to generate detailed expression plots, find top genes co-expressed with the subject gene, and identify genes enriched in specific cell types.
- Subject Gene: A single gene of interest.
- Query Genes: A list of genes to compare against the subject gene.
- Y-axis: Normalized gene expression. Every gene's expression count is normalized by its minimum and maximum counts.
- X-axis: Continuous value of diffusion pseudotime representing cell maturity in the OSN lineage.
- Color/Hover: Color and hover value display the Root Mean Square Error (RMSE) of the query gene's trajectory compared to the subject gene.
Users can select individual genes to visualize their expression trajectories. The plot displays the normalized expression values over pseudotime.
Users can identify genes that are most associated with the subject gene. This functionality highlights the top genes co-expressed with the query gene.
Users can toggle specific cell stages to find genes enriched in those stages. This helps in understanding gene expression patterns in different phases of OSN development.
- Logmaritize counts: Log-transform the gene expression counts.
- Normalize maximum expression: Normalize gene expression to the maximum value.
- Subject Gene: The reference gene against which other genes are compared. Selected from a dropdown menu.
- Query Genes: List of genes to visualize and compare against the subject gene. Multiple genes can be selected from a dropdown menu.
- Most Associated Genes: Range slider to select the number of genes most associated with the subject gene based on RMSE.
- Least Associated Genes: Range slider to select the number of genes least associated with the subject gene based on RMSE.
- Cell Types: Checklist to select specific cell types (e.g., GBC, INP, early iOSN, late iOSN, mOSN) for identifying genes enriched in those stages.
- Number of Enriched Genes: Slider to select the number of top enriched genes to display.
Ensure you have the following packages installed:
- pandas
- numpy
- matplotlib
- scikit-learn
- plotly
- dash
Clone the repository:
git clone https://github.com/Justice-Lu/geLine_dash.git
Navigate to the project directory and install dependencies:
cd geLine_dash
pip install -r requirements.txt
Run the app locally:
python app.py
Open your browser and navigate to http://127.0.0.1:8050/
to use the app.
- Input Gene Selection: Select a subject gene and query genes using the dropdown menus.
- Plot Configuration: Choose plot types and configure options like log normalization and maximum expression normalization.
- Analyze Gene Expression: Explore gene expression trajectories, find top co-expressed genes, and identify genes enriched in specific cell stages.
The single-cell RNA-seq data used in this app is from Brann et al. and reanalyzed using Python with the scanpy library. The app is built with Dash.
For questions, please contact Justice Lu.
Happy exploring with geLine!