hlpr_one_distinct: Number of distinct values equal to 1?

View source: R/h.R

hlpr_one_distinctR Documentation

Number of distinct values equal to 1?

Description

Helper function to use within purrr::map_lgl. Returns TRUE if the gene row of the provided rna assay is uniformly expressed.

Usage

hlpr_one_distinct(x, rna_assay, pb = NULL, verbose = TRUE)

Arguments

x

Input variable.

rna_assay

Expression matrix

pb

Progress bar object


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.