Display the object, by printing, plotting or whatever suits its class. This function exists to be specialized by methods. The default method calls showDefault.

Formal methods for show will usually be invoked for automatic printing (see the details).

# S4 method for CellCycleMarkers
show(object)

# S4 method for CellTypeMarkers
show(object)

Arguments

object

Any R object

Details

Objects from an S4 class (a class defined by a call to setClass) will be displayed automatically is if by a call to show. S4 objects that occur as attributes of S3 objects will also be displayed in this form; conversely, S3 objects encountered as slots in S4 objects will be printed using the S3 convention, as if by a call to print.

Methods defined for show will only be inherited by simple inheritance, since otherwise the method would not receive the complete, original object, with misleading results. See the simpleInheritanceOnly argument to setGeneric and the discussion in setIs for the general concept.

Note

Updated 2019-07-31.

Examples

data(cellCycleMarkersList, cellTypeMarkersList) ## CellCycleMarkers ==== object <- cellCycleMarkersList[[1L]] show(object)
#> CellCycleMarkers #> Drosophila melanogaster (Ensembl 92) #> g2_m(37): aurA Bub1 ... twe vih #> s(37): Blm Caf1-105 ... Ts Usp1
## CellTypeMarkers ==== object <- cellTypeMarkersList[[1L]] show(object)
#> CellTypeMarkers #> Drosophila melanogaster (Ensembl 92) #> crystal_cell(5): klu lz ... PPO1 Sox102F #> lamellocyte(5): 14-3-3zeta atilla ... pnt tx #> plasmatocyte(5): bbx bon ... Sox102F ttk #> prohemocyte(5): dome h ... Tep4 wg