is.probability.vector: is.probability.vector (internal function)

Description Usage Arguments Value Author(s) References

View source: R/helper_functions_for_class_checks.R

Description

'is.probability.vector()' checks whether the input object is a numeric vector of probabilities with a total sum of 1.

Usage

1

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.


decompTumor2Sig documentation built on Nov. 8, 2020, 8:23 p.m.