isShiraishiSet {decompTumor2Sig} | R Documentation

## isShiraishiSet

### Description

'isShiraishiSet()' checks whether the input object is a set (list) of numeric objects compatible with the Shiraishi format (matrices or data.frames of probabilities; 6 columns, each row sums up to 1). NOTE: These can also be genomes compatible with the Shiraishi format!

### Usage

    isShiraishiSet(x)

### Arguments

`x` | Object to be checked.

### Value

Logical value (true or false).

### Author(s)

Rosario M. Piro
Politecnico di Milano
Maintainer: Rosario M. Piro
E-Mail: <rmpiro@gmail.com> or <rosariomichael.piro@polimi.it>

### References

http://rmpiro.net/decompTumor2Sig/
Krueger, Piro (2019) decompTumor2Sig: Identification of mutational signatures active in individual tumors. BMC Bioinformatics 20(Suppl 4):152.

### See Also

`decompTumor2Sig`
`isSignatureSet`
`readShiraishiSignatures`

### Examples

    ### get Alexandrov signatures from COSMIC
    signAlexandrov <- readAlexandrovSignatures()

    ### convert them to the Shiraishi model
    signShiraishi <- convertAlexandrov2Shiraishi(signAlexandrov)

    isShiraishiSet(signShiraishi)

[Package decompTumor2Sig version 2.8.0 Index]