Skip to content

Instantly share code, notes, and snippets.

View FloWuenne's full-sized avatar
💻

Florian Wuennemann FloWuenne

💻
  • Seqera
  • Barcelona | Montreal
  • 02:48 (UTC -04:00)
  • X @FloWuenne
View GitHub Profile
@FloWuenne
FloWuenne / find_specific_markers.R
Last active November 17, 2017 22:07 — forked from daskelly/find_specific_markers.R
Use Seurat to find specific markers of each cell type (modified from Dan Skelly)
library(tidyverse)
library(Seurat)
# Find specific markers for each cell type
# Find specific markers for each cell type
celltypes <- unique(expression_seurat_subset@ident) # list of cell types (unique ident labels of Seurat object)
obj <- expression_seurat_subset # Seurat object
specific_markers <- NULL
# First we do all pairwise comparisons and retain any markers that
@FloWuenne
FloWuenne / find_specific_markers.R
Created October 30, 2017 13:59 — forked from daskelly/find_specific_markers.R
Use Seurat to find specific markers of each cell type
library(tidyverse)
library(Seurat)
# Find specific markers for each cell type
celltypes <- # list of cell types (unique ident labels of Seurat object)
obj <- # Seurat object
specific_markers <- NULL
# First we do all pairwise comparisons and retain any markers that
# are even somewhat higher in the cell type of interest