Skip to contents

This function checks the percentage of counts in a given counts table that are either zero or one. If more than 50% of the counts fall in this category, a warning is issued, suggesting a review of input parameters.

Usage

checkFractionOfZero(counts_table)

Arguments

counts_table

A matrix or data frame representing counts.

Examples

# Example usage:
counts_table <- matrix(c(0, 1, 2, 3, 4, 0, 0, 1, 1), ncol = 3)
checkFractionOfZero(counts_table)
#> NULL