We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96c9dbf commit 992cb86Copy full SHA for 992cb86
singlecell/resources/chunks/CiteSeqPlots.R
@@ -6,7 +6,16 @@ for (datasetId in names(seuratObjects)) {
6
print('ADT assay not present, skipping')
7
} else {
8
for (adt in rownames(seuratObj[['ADT']])) {
9
- CellMembrane::FeaturePlotAcrossReductions(seuratObj, features = paste0('adt_', adt))
+ tryCatch({
10
+ CellMembrane::FeaturePlotAcrossReductions(seuratObj, features = paste0('adt_', adt))
11
+ }, error = function(e){
12
+ print(conditionMessage(e))
13
+ traceback()
14
+ print('ADTs:')
15
+ print(sort(rownames(seuratObj@assays$ADT)))
16
+ stop(paste0('Error running FeaturePlotAcrossReductions for: ', datasetId))
17
+ })
18
+
19
}
20
21
0 commit comments