Make a Featureplot style plot using schex from a Seurat object
✓ Published0🌍 Public
FFloWuenne
Last edited Jun 30, 2020
Created on Jun 30, 2020
This example demonstrates how to create a series of feature plots from a Seurat object using the schex package, with each plot visualizing the expression of a specified gene across a hexagonal binning of cells. The visualization shows gene expression levels as color gradients over a UMAP reduction, with each hexagon representing an aggregated summary of nearby cells. The code first calls `make_hexbin` to bin the cells, then iterates through gene IDs, generating plots with `plot_hexbin_feature` and applying `theme_cowplot` for styling. It relies on Seurat for data handling and schex for the hexagonal binning approach, using the specified assay, slot, and aggregation action (e.g., mean).
AI-generated description