annotationType: annotationType R6 class.

annotationTypeR Documentation

annotationType R6 class.

Description

Annotate samples by setting a property and its value. For example, sex could be a property with the possible values M or F. Inherits: rdmlBaseType.

Format

An R6Class generator object.

Fields

property

checkString. Property name

value

checkString. Value

Super class

RDML::rdmlBaseType -> annotationType

Methods

Public methods

Inherited methods

Method new()

Usage
annotationType$new(property, value)

Method clone()

The objects of this class are cloneable with this method.

Usage
annotationType$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

#set sex property
annotationType$new(property = "sex", value = "M")

kablag/RDML documentation built on Oct. 20, 2022, 5:47 a.m.