is.probability.data.frame {decompTumor2Sig} | R Documentation

## is.probability.data.frame (internal function)

### Description

'is.probability.data.frame()' checks whether the input object is a numeric data.frame of probabilities with a total sum of 1 for every row. Each row must have 6 columns (for Shiraishi format).

### Usage

    is.probability.data.frame(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.

[Package decompTumor2Sig version 2.6.0 Index]