get_nz_median2: Get median of non zero UMIs from a count matrix

View source: R/utils.R

get_nz_median2R Documentation

Get median of non zero UMIs from a count matrix

Description

Get median of non zero UMIs from a count matrix

Usage

get_nz_median2(umi, genes = NULL)

Arguments

umi

Count matrix

genes

A vector of genes to consider for calculating the median. Default is NULL which uses all genes.

Value

A numeric value representing the median of non-zero entries from the UMI matrix


sctransform documentation built on Oct. 19, 2023, 9:08 a.m.