Skip to content

Commit 59a51f1

Browse files
committed
Add datasetName to FindMarkers output
1 parent 57a114f commit 59a51f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

singlecell/resources/chunks/FindMarkers.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ for (datasetId in names(seuratObjects)) {
44
seuratObjects[[datasetId]] <- NULL
55

66
outFile = paste0(outputPrefix, '.', datasetId, '.markers.txt')
7+
datasetName <- datasetIdToName[[datasetId]]
8+
79
dt <- bindArgs(CellMembrane::Find_Markers, seuratObj)()
8-
dt$x$caption <- paste0('<caption>Top DE Genes: ', datasetId, '</caption>')
910
plotList[[datasetId]] <- dt
1011

1112
# Cleanup

0 commit comments

Comments
 (0)