has.stages {TRONCO} | R Documentation

## has stages

### Description

Return true if the TRONCO dataset 'x', which should be a TRONCO compliant dataset - see `is.compliant` - has stage annotations for samples. Some sample stages might be annotated as NA, but not all.

### Usage

    has.stages(x)

### Arguments

`x` | A TRONCO compliant dataset.

### Value

TRUE if the TRONCO dataset has stage annotations for samples.

### Examples

    data(test_dataset)
    has.stages(test_dataset)
    data(stage)
    test_dataset = annotate.stages(test_dataset, stage)
    has.stages(test_dataset)

[Package TRONCO version 2.26.0 Index]