From 6df586645ba3ae5e5d38f3061877db479a749707 Mon Sep 17 00:00:00 2001 From: Robrecht Cannoodt Date: Tue, 29 Aug 2023 15:23:01 +0200 Subject: [PATCH] try to fix error in R devel --- R/SingleCellExperiment.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/SingleCellExperiment.R b/R/SingleCellExperiment.R index c25be371..ed5643de 100644 --- a/R/SingleCellExperiment.R +++ b/R/SingleCellExperiment.R @@ -121,13 +121,13 @@ from_SingleCellExperiment <- function(sce, output_class = c("InMemory", "HDF5Ann generator <- get_generator(output_class) # trackstatus: class=SingleCellExperiment, feature=set_obs, status=done - obs <- as.data.frame( + obs <- SummarizedExperiment::as.data.frame( SummarizedExperiment::colData(sce) ) rownames(obs) <- NULL # trackstatus: class=SingleCellExperiment, feature=set_var, status=done - var <- as.data.frame( + var <- SummarizedExperiment::as.data.frame( SummarizedExperiment::rowData(sce) ) rownames(var) <- NULL