isExperimentCountsOrZeros: Check if frequencies can be calculated for an experiment

View source: R/asserts.R

isExperimentCountsOrZerosR Documentation

Check if frequencies can be calculated for an experiment

Description

isExperimentCountsOrZeros checks if experiment contains only positive integers or zeros.

Usage

isExperimentCountsOrZeros(x, na.rm = TRUE)

Arguments

x

Matrix or SummarizedExperiment object.

na.rm

Logical indicating if NA values should be accepted.

Value

Logical indicating if x contains only positive integers or zeros.


Genentech/MiDAS documentation built on Feb. 5, 2024, 11:52 a.m.