hlpr_one_distinct: Number of distinct values equal to 1?

View source: R/helper-functions.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/SPATA documentation built on March 22, 2022, 9:59 p.m.