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/midasHLA documentation built on Feb. 12, 2024, 9:38 a.m.