variants-utils {SomaticSignatures} | R Documentation |
Utility functions
dfConvertColumns(x, from = "character", to = "factor")
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']. |
The 'dfConvertColumns' converts all columns of a data frame with class 'from' to the class 'to'.
A 'data.frame' object.