diff --git a/DESCRIPTION b/DESCRIPTION index 956ff4b..28adbdc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: scFeatures Title: scFeatures: Multi-view representations of single-cell and spatial data for disease outcome prediction -Version: 1.3.1 +Version: 1.3.2 Authors@R: c( person(given = "Yue",family = "Cao", email = "yue.cao@sydney.edu.au", role=c("aut", "cre")), diff --git a/R/utils.R b/R/utils.R index 507cf16..a13afd5 100644 --- a/R/utils.R +++ b/R/utils.R @@ -213,8 +213,7 @@ bulk_sample <- function(alldata, ncores = 1) { #' #' data("example_scrnaseq" , package = "scFeatures") #' data <- example_scrnaseq -#' data$celltype <- NULL -#' +#' data <- list(data = data) #' number_of_cells <- get_num_cell_per_spot(data) #' #' diff --git a/man/get_num_cell_per_spot.Rd b/man/get_num_cell_per_spot.Rd index a97c308..7b6d48d 100644 --- a/man/get_num_cell_per_spot.Rd +++ b/man/get_num_cell_per_spot.Rd @@ -24,8 +24,7 @@ This value stored in the \code{number_cells} attribute. data("example_scrnaseq" , package = "scFeatures") data <- example_scrnaseq -data$celltype <- NULL - +data <- list(data = data) number_of_cells <- get_num_cell_per_spot(data)