@@ -6,7 +6,6 @@ setClass("tidySummarizedExperiment",
66# ' @rdname tidy
77# ' @title tidy for `Seurat`
88# '
9- # ' @param object A `Seurat` object.
109# ' @return A `tidyseurat` object.
1110# '
1211# ' @examples
@@ -16,13 +15,10 @@ setClass("tidySummarizedExperiment",
1615# ' @references
1716# ' 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
1817# '
19- # ' @export
20- tidy <- function (object ) {
21- UseMethod(" tidy" , object )
22- }
18+ # ' @importFrom generics tidy
2319
2420# ' @importFrom lifecycle deprecate_warn
25- tidy_ <- function (object ) {
21+ tidy_ <- function (x , ... ) {
2622
2723 # DEPRECATE
2824 deprecate_warn(
@@ -31,20 +27,22 @@ tidy_ <- function(object) {
3127 details = " tidySummarizedExperiment says: tidy() is not needed anymore."
3228 )
3329
34- object
30+ x
3531}
3632
3733# ' @importFrom methods as
3834# ' @rdname tidy
39- # ' @param object A SummarizedExperiment object
35+ # ' @param x A SummarizedExperiment object
36+ # ' @param ... Additional arguments passed to methods
4037# ' @references
4138# ' 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
4239# ' @export
4340tidy.SummarizedExperiment <- tidy_
4441
4542# ' @importFrom methods as
4643# ' @rdname tidy
47- # ' @param object A SummarizedExperiment object
44+ # ' @param x A SummarizedExperiment object
45+ # ' @param ... Additional arguments passed to methods
4846# ' @references
4947# ' 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
5048# ' @export
0 commit comments