... | ... |
@@ -259,6 +259,7 @@ Note that the decontaminated matrix of decontX consists of floating point number |
259 | 259 |
counts <- GetAssayData(object = seuratObject, slot = "counts") |
260 | 260 |
sce <- SingleCellExperiment(list(counts = counts)) |
261 | 261 |
sce <- decontX(sce) |
262 |
+seuratObj[["decontXcounts"]] <- CreateAssayObject(counts = decontXcounts(sce)) |
|
262 | 263 |
``` |
263 | 264 |
|
264 | 265 |
|