Entering edit mode
4.2 years ago
ecl75
▴
20
Hello! I have identified in my seurat object the top 10 clonotypes based on frequency. I used this code to find them
top10_clonotype <- table(Object$clonotype_id)
top10_clonotype <- as.data.frame(top10_clonotype)
top10_clonotype <- slice_max(top10_clonotype, order_by = top10$Freq, n=11)
I would like to then highlight them on my umap. I ran the line-DimPlot(AD007, reduction = "umap", cells.highlight=top10)
. The number one clonotype frequency came up 22 times yet on the umap there was just one dot for it. Any suggestions? Please and thanks!
What does
head(top10)
andhead(top10_clonotype)
yield? My guess is that you aren't feeding a vector of cell barcodes tocells.highlight
.