isProbVector: Check if Vector of Probabilities

View source: R/tauStarDE.R

isProbVectorR Documentation

Check if Vector of Probabilities

Description

Checks if the input vector has entries that sum to 1 and are non-negative

Usage

isProbVector(probs)

Arguments

probs

the probability vector to check

Value

TRUE if conditions are met, FALSE if otherwise


SONGDONGYUAN1994/PseudotimeDE documentation built on Jan. 23, 2025, 7:15 a.m.