Skip to content

Commit 39fa368

Browse files
committed
Add showAsCell() method for SummarizedExperiment objects
1 parent 6faba88 commit 39fa368

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ biocViews: Genetics, Infrastructure, Sequencing, Annotation, Coverage,
88
GenomeAnnotation
99
URL: https://bioconductor.org/packages/SummarizedExperiment
1010
BugReports: https://github.com/Bioconductor/SummarizedExperiment/issues
11-
Version: 1.23.0
11+
Version: 1.23.1
1212
License: Artistic-2.0
1313
Encoding: UTF-8
1414
Author: Martin Morgan, Valerie Obenchain, Jim Hester, Hervé Pagès

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ exportMethods(
4949
updateObject,
5050

5151
## Generics defined in S4Vectors:
52+
showAsCell,
5253
"metadata<-",
5354
parallel_slot_names, vertical_slot_names, horizontal_slot_names,
5455
mcols, "mcols<-",

R/SummarizedExperiment-class.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,10 @@ setMethod("show", "SummarizedExperiment",
689689
coolcat("colData names(%d): %s\n", names(colData(object)))
690690
})
691691

692+
setMethod("showAsCell", "SummarizedExperiment",
693+
function(object) rep.int("####", NROW(object))
694+
)
695+
692696

693697
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
694698
### Combine

man/SummarizedExperiment-class.Rd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262

6363
% Display
6464
\alias{show,SummarizedExperiment-method}
65+
\alias{showAsCell,SummarizedExperiment-method}
6566

6667
% Combine
6768
\alias{rbind,SummarizedExperiment-method}

0 commit comments

Comments
 (0)