Skip to content

Commit bae8949

Browse files
committed
drop class and tidy method. This disruptive change is because the package is still new and tidy clashes with broom
1 parent 752d40b commit bae8949

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

R/methods.R

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,3 @@
1-
setClass("tidySingleCellExperiment", contains = "SingleCellExperiment")
2-
3-
#' tidy for SingleCellExperiment
4-
#'
5-
#' @param object A SingleCellExperiment object
6-
#'
7-
#' @return A tidySingleCellExperiment object
8-
#'
9-
#' @name tidy
10-
#'
11-
#' @examples
12-
#'
13-
#' tidySingleCellExperiment::pbmc_small
14-
#' @export
15-
tidy <- function(object) {
16-
UseMethod("tidy", object)
17-
}
18-
19-
#' @importFrom methods as
20-
#' @importFrom lifecycle deprecate_warn
21-
#'
22-
#' @param object A SingleCellExperiment object
23-
#'
24-
#' @export
25-
tidy.SingleCellExperiment <- function(object) {
26-
27-
# DEPRECATE
28-
deprecate_warn(
29-
when = "1.1.1",
30-
what = "tidy()",
31-
details = "tidySingleCellExperiment says: tidy() is not needed anymore."
32-
)
33-
34-
object
35-
}
36-
371
setMethod(
382
f = "show",
393
signature = "SingleCellExperiment",

0 commit comments

Comments
 (0)