as.mutsign.exposures {mutSignatures}R Documentation

Method as.mutsign.exposures.

Description

Cast a data.frame into a mutSignExposures-class object.

Usage

as.mutsign.exposures(x, samplesAsCols = TRUE)

## S4 method for signature 'data.frame,logical'
as.mutsign.exposures(x, samplesAsCols = TRUE)

Arguments

x

a data.frame to be converted to a mutSignExposures-class object.

samplesAsCols

logical, are samples listed as columns in the input data.frame. If FALSE, samples are expected to be listed as rows in the input data.frame


[Package mutSignatures version 2.1.1 Index]