Learn R Programming

sctransform (version 0.4.2)

get_nz_median2: 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)

Value

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

Arguments

umi

Count matrix

genes

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