Cast an object to a different format, by extracting and returning the most appropriate information. Note that data.frames can be coerced to one of the classes defined in the mutSignatures package using coerceObj.
coerceObj(x, to, ...)# S4 method for mutFrameworkParams,character
coerceObj(x, to)
# S4 method for mutationSignatures,character
coerceObj(x, to)
# S4 method for mutationCounts,character
coerceObj(x, to, ...)
# S4 method for mutSignExposures,character
coerceObj(x, to, ...)
# S4 method for data.frame,character
coerceObj(x, to, ...)
an object to coerce to a different format
string, indicates the expected format (such as list or data.frame)
additional parameters passed to the functions used for the coercion