diff --git a/R/functions.R b/R/functions.R index c272ba4..fb157bd 100644 --- a/R/functions.R +++ b/R/functions.R @@ -130,7 +130,7 @@ loom2anndata <- function( anndata$AnnData$var_names_make_unique(adata) if (!is.null(outFile)) - anndata$AnnData$write(adata, outFile, compression = 'gzip') + adata$write(outFile, compression = 'gzip') adata }