Learn R Programming

mutSignatures (version 2.1.1)

as.data.frame,mutSignExposures-method: Convert and/or transpose a mutSignExposures object to data.frame.

Description

Coerce a mutSignExposures-class object to data.frame by applying the coerceObj method. The data.frame can be returned in a transposed or non-transposed format.

Usage

# S4 method for mutSignExposures
as.data.frame(x, row.names = NULL, optional = NULL, ...)

Arguments

x

a mutSignExposures object

row.names

NULL, not used

optional

NULL, not used

...

additional parameters to be passed to coerceObj, such as transpose (logical)