variants-utils {SomaticSignatures} | R Documentation

## Utility functions

### Description

Utility functions

### Usage

    dfConvertColumns(x, from = "character", to = "factor")

### Arguments

`x` | A 'data.frame' to convert [required].
`from` | The class of the columns to be converted [default: 'character'].
`to` | The class of the columns to be converted to [default: 'factor'].

### Details

The 'dfConvertColumns' converts all columns of a data frame with class 'from' to the class 'to'.

### Value

A 'data.frame' object.

[Package SomaticSignatures version 2.26.0 Index]