Learn R Programming

deconstructSigs (version 1.8.0)

formatContexts: Formats the data for use in plotSignatures()

Description

Makes the contexts useable in plotSignatures()

Usage

formatContexts(contexts)

Arguments

contexts
One of the entries in the output list from whichSignatures()

Value

Returns a data frame with sample.id, full_context, fraction, and mutation as column names