utils: Utility functions

Description Usage Arguments Details Value

Description

Utility functions

Usage

1
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.


SomaticSignatures documentation built on Nov. 8, 2020, 5:52 p.m.