dot-setShowMethod: Redefine the show method of the object

.setShowMethodR Documentation

Redefine the show method of the object

Description

Adds the Project objects display to the default show method of an Annotated-class

Usage

.setShowMethod(returnedObject)

Arguments

returnedObject

object of Annotated-class

Details

The method is defined in the environment in which the function was called, see: sys.parent

Value

FALSE if the function was not set

Examples

x = S4Vectors::List(c('so','cool'))
metadata(x) = list(PEP=pepr::Project())
.setShowMethod(x)
x

pepkit/BiocProject documentation built on July 28, 2023, 2:49 p.m.