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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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.