Skip to content

Commit 62ba3a1

Browse files
committed
Better handling of return from CalculateAndStoreTcrRepertioreStats
1 parent 08405c7 commit 62ba3a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

singlecell/resources/chunks/CalculateTcrRepertioreStats.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ Rdiscvr::SetLabKeyDefaults(baseUrl = serverBaseUrl, defaultFolder = defaultLabKe
1010
for (datasetId in names(seuratObjects)) {
1111
printName(datasetId)
1212
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
13-
seuratObj <- Rdiscvr::CalculateAndStoreTcrRepertioreStats(seuratObj)
13+
df <- Rdiscvr::CalculateAndStoreTcrRepertioreStats(seuratObj)
1414

1515
# Cleanup
1616
rm(seuratObj)
17+
rm(df)
1718
gc()
1819
}

0 commit comments

Comments
 (0)