renameSignature: Rename selected signatures from an existing set of...

Description Usage Arguments Details Value See Also Examples

View source: R/renameSignature.R

Description

Rename selected signatures from an existing signature-set.

Usage

1
renameSignature(sigmatrix,selectSig,renameSig)

Arguments

sigmatrix

An object of class mutsig describing the existing set of signatures.

selectSig

A vector containing name(s) of the signature(s) to be removed.

renameSig

A vector containing updated name(s) of the signatures.

Details

Renaming of selected mutation signatures to an existing signature set, upon which the updated signature set is returned.

Value

An object of mutsig class.

See Also

addSignature, deleteSignature and mergeSignature.

Examples

1
2
renamedSigMatrix=renameSignature(sigmatrix=signatures.cosmic, selectSig=c(2,5), 
renameSig=c('two', 'five')) # rename signature 2 and 5.

sjdlabgroup/MutSigTools documentation built on Oct. 5, 2019, 3:31 a.m.