Skip to content

Commit 289e1ad

Browse files
committed
rely on generics tidy
1 parent d16eb22 commit 289e1ad

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: tidySummarizedExperiment
33
Title: Brings SummarizedExperiment to the Tidyverse
4-
Version: 1.19.7
4+
Version: 1.19.8
55
Authors@R: c(person("Stefano", "Mangiola", email = "[email protected]",
66
role = c("aut", "cre")) )
77
Author: Stefano Mangiola [aut, cre] <[email protected]>
@@ -41,7 +41,8 @@ Imports:
4141
fansi,
4242
stats,
4343
pkgconfig,
44-
plyxp
44+
plyxp,
45+
generics
4546
Suggests:
4647
BiocStyle,
4748
testthat,
@@ -60,7 +61,7 @@ Biarch: true
6061
biocViews: AssayDomain, Infrastructure, RNASeq, DifferentialExpression, GeneExpression, Normalization, Clustering, QualityControl, Sequencing, Transcription, Transcriptomics
6162
Encoding: UTF-8
6263
LazyData: true
63-
RoxygenNote: 7.3.2
64+
RoxygenNote: 7.3.3
6465
Roxygen: list(markdown = TRUE)
6566
LazyDataCompression: xz
6667
URL: https://github.com/stemangiola/tidySummarizedExperiment

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ S3method(tidy,SummarizedExperiment)
3737
S3method(unite,SummarizedExperiment)
3838
S3method(unnest,tidySummarizedExperiment_nested)
3939
export("%>%")
40-
export(tidy)
4140
export(unnest_summarized_experiment)
4241
importFrom(S4Vectors,"metadata<-")
4342
importFrom(S4Vectors,DataFrame)
@@ -81,6 +80,7 @@ importFrom(dplyr,summarise)
8180
importFrom(dplyr,summarize)
8281
importFrom(dplyr,vars)
8382
importFrom(ellipsis,check_dots_used)
83+
importFrom(generics,tidy)
8484
importFrom(ggplot2,aes)
8585
importFrom(ggplot2,ggplot)
8686
importFrom(lifecycle,deprecate_warn)

R/methods.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ setClass("tidySummarizedExperiment",
1616
#' @references
1717
#' Hutchison, W.J., Keyes, T.J., The tidyomics Consortium. et al. The tidyomics ecosystem: enhancing omic data analyses. Nat Methods 21, 1166–1170 (2024). https://doi.org/10.1038/s41592-024-02299-2
1818
#'
19-
#' @export
20-
tidy <- function(object) {
21-
UseMethod("tidy", object)
22-
}
19+
#' @importFrom generics tidy
2320

2421
#' @importFrom lifecycle deprecate_warn
2522
tidy_ <- function(object) {

man/tidy.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tidySummarizedExperiment-package.Rd

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)