Learn R Programming

RDML (version 1.1)

annotationType: 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.

Arguments

Format

An R6Class generator object.

Fields

property

checkString. Property name

value

checkString. Value

Super class

RDML::rdmlBaseType -> annotationType

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

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

Run the code above in your browser using DataLab