From bae89494682b4b034ff397d4650ff6f128f30a9d Mon Sep 17 00:00:00 2001 From: stemangiola Date: Sat, 7 Aug 2021 18:26:34 +1000 Subject: [PATCH] drop class and tidy method. This disruptive change is because the package is still new and tidy clashes with broom --- R/methods.R | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/R/methods.R b/R/methods.R index 3efae30..ae675ae 100755 --- a/R/methods.R +++ b/R/methods.R @@ -1,39 +1,3 @@ -setClass("tidySingleCellExperiment", contains = "SingleCellExperiment") - -#' tidy for SingleCellExperiment -#' -#' @param object A SingleCellExperiment object -#' -#' @return A tidySingleCellExperiment object -#' -#' @name tidy -#' -#' @examples -#' -#' tidySingleCellExperiment::pbmc_small -#' @export -tidy <- function(object) { - UseMethod("tidy", object) -} - -#' @importFrom methods as -#' @importFrom lifecycle deprecate_warn -#' -#' @param object A SingleCellExperiment object -#' -#' @export -tidy.SingleCellExperiment <- function(object) { - - # DEPRECATE - deprecate_warn( - when = "1.1.1", - what = "tidy()", - details = "tidySingleCellExperiment says: tidy() is not needed anymore." - ) - - object -} - setMethod( f = "show", signature = "SingleCellExperiment",