get_gini: Compute Gini coefficients for single cells

View source: R/get_gini.R

get_giniR Documentation

Compute Gini coefficients for single cells

Description

Gini index is defined as two times the area between the Lorenz curve and the diagonal.

Usage

get_gini(Y)

Arguments

Y

raw read depth matrix after quality control procedure

Value

Gini

Vector of Gini coefficients for single cells from scDNA-seq

Author(s)

Rujin Wang rujin@email.unc.edu

Examples

Gini <- get_gini(Y_sim)


rujinwang/SCOPE documentation built on Jan. 1, 2023, 5:40 a.m.