setEntityS4Class: Set an Entity S4 class definition

setEntityS4ClassR Documentation

Set an Entity S4 class definition

Description

This function creates a local S4 class definition corresponding to a given Entity class definition.

Usage

setEntityS4Class(entityClassDef, where = .GlobalEnv)

Arguments

entityClassDef

A hiveEntityClass object

where

An environment in which to create the S4 class definition if needed

Value

The function calls setClass to create the S4 class definition within its namespace, or, if it does not already exist, to create the S4 class definition within the environment specified in argument where. The constructor function created by setClass is returned, invisibly.

Author(s)

Adam C. Gower agower@bu.edu


agower/GeneHive documentation built on April 14, 2022, 5:08 a.m.