Entering edit mode
3.1 years ago
salber710
•
0
Hello,
I have a Seurat object that has two columns of interest in its metadata. One corresponds to clonotypes (we'll call this 'clono') and the other corresponds to the number of times that clonotypes appears in the sample ('count').
I want to make a FeaturePlot where each dot is a separate clonotype and the color corresponds to how many times that clonotype appears, so that I can see the expanded ones on my UMAP plot. I tried doing something like this:
FeaturePlot(Seurat_Amgen_10XVdj_20210118, features = "clono")
But I just get the error:
All cells have the same value (NA) of clono.Error in if (unique.feature.exp == 0) { :
missing value where TRUE/FALSE needed
Additionally
head(Seurat_Amgen_10XVdj_20210118@meta.data[,c("clono","count")])
Yields
clono count
1 TGCAGCCTCTGGGTATCAGGGCCCGCCTCCTACAATGAGCAGTTCTTC 10
2 TGTGCTGTGGGTAACCGGAATAACAATGCCAGACTCATGTTT 1
3 TGTGCCTCAACAGGAGGAAGCTACATACCTACATTT 1
4 TGTGCCAGCAGTTTTGGGACAGGGGTTTATGGCTACACCTTC 1
5 TGTGCTGTGCAGGCGAATTCAGGAAACACACCTCTTGTCTTT 3
Any ideas on how to approach this? Thank you.