Use Seurat to find specific markers of each cell type (modified from Dan Skelly)
✓ Published0🌍 Public
FFloWuenne
Last edited Nov 17, 2017
Created on Oct 30, 2017
This example shows a dot plot of the top five specific marker genes for each cell type in a single-cell RNA-sequencing dataset, with dot size and color encoding expression level and percentage of cells expressing each gene. The visualization relies on Seurat’s `FindMarkers` function with a ROC test to perform all pairwise comparisons between cell types, filtering for markers expressed in fewer than 50% of cells in other clusters and retaining those with a mean AUC above 0.65. The code uses tidyverse functions like `mutate`, `filter`, `summarize`, and `group_by` to process the marker data, and Seurat’s `DotPlot` to render the final figure. Marker lists are written to TSV files, and the plot is saved as a PNG.
AI-generated description