label-class {SIAMCAT} | R Documentation

## The S4 class for storing label info.

### Description

The S4 class for storing label info.

### Slots

`.Data`

  inherited from `list` class, contains a list with:

  - `label` numeric vector, specifying to which category samples belong, usualy made of 1s and -1s

  - `header` contains information from the header of the label file

  - `info` list with additional informations about the dataset

  - `positive.lab` specifies which of two numbers in label is a positive label

  - `negative.lab` specifies which of two numbers in label is a negative label

  - `n.idx` numeric vector - on which positions in the label there are samples with negative label

  - `p.idx` numeric vector - on which positions in the label there are samples with positive label

  - `n.lab` character string with a name for the negative label (e.g. 'healthy')

  - `p.lab` character string with a name for the positive label (e.g. 'cancer')

[Package SIAMCAT version 1.0.0 Index]