as.mutation.counts {mutSignatures}R Documentation

Method as.mutation.counts.

Description

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

Usage

as.mutation.counts(x, rownames = NULL, colnames = NULL)

## S4 method for signature 'data.frame'
as.mutation.counts(x, rownames = NULL, colnames = NULL)

Arguments

x

an object to extract Signature Identifiers from, i.e. a mutSignExposures-class

rownames

character vector to overwrite data row names. Can be NULL if rownames(x) is not NULL.

colnames

character vector to overwrite data column names. Can be NULL if colnames(x) is not NULL.


[Package mutSignatures version 2.1.1 Index]