diff --git a/apis/r/R/write_seurat.R b/apis/r/R/write_seurat.R index c60cd8d26c..08275ebc6c 100644 --- a/apis/r/R/write_seurat.R +++ b/apis/r/R/write_seurat.R @@ -724,6 +724,8 @@ write_soma.Seurat <- function( platform_config = NULL, tiledbsoma_ctx = NULL ) { + # Allow writing `soma_` prefixed columns to SOMADataFrames + # (normally disallowed as a reserved prefix) op <- options(tiledbsoma.write_soma.internal = TRUE) on.exit(options(op), add = TRUE, after = FALSE) check_package("SeuratObject", version = .MINIMUM_SEURAT_VERSION())