coerceObj | R Documentation |
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 signature 'mutFrameworkParams,character' coerceObj(x, to) ## S4 method for signature 'mutationSignatures,character' coerceObj(x, to) ## S4 method for signature 'mutationCounts,character' coerceObj(x, to, ...) ## S4 method for signature 'mutSignExposures,character' coerceObj(x, to, ...) ## S4 method for signature 'data.frame,character' coerceObj(x, to, ...)
x |
an object to coerce to a different format |
to |
string, indicates the expected format (such as list or data.frame) |
... |
additional parameters passed to the functions used for the coercion |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.