Skip to content

Commit e42bac6

Browse files
committed
Add additional SDA heatmaps
1 parent 77186a1 commit e42bac6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

singlecell/resources/chunks/RunSDA.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ sdaFiles <- data.frame(DatasetId = character(), FileName = character())
2424

2525
if (!all(is.null(fieldNames))) {
2626
CellMembrane::PlotSdaCellScores(sdaResults = sdaResults, seuratObj = seuratObj, fieldNames = fieldNames)
27+
28+
for (fieldName in fieldNames) {
29+
CellMembrane::Plot_SDAScoresPerFeature(seuratObj = seuratObj, sdaResults = sdaResults, metadataFeature = fieldName)
30+
}
2731
}
2832

2933
fileName <- paste0('sda.', datasetId, '.rds')

0 commit comments

Comments
 (0)