as.genotypes {TRONCO} | R Documentation

## as.genotypes

### Description

Return all genotypes for input 'x', which should be a TRONCO compliant dataset see `is.compliant`. Function `keysToNames` can be used to translate colnames to events.

### Usage

    as.genotypes(x)

### Arguments

`x` | A TRONCO compliant dataset.

### Value

A TRONCO genotypes matrix.

### Examples

    data(test_dataset)
    as.genotypes(test_dataset)

[Package TRONCO version 2.26.0 Index]