Skip to contents

Takes a DGEList object of barcode counts and computes shannon, simpson, inverse simpson and gini coefficients for each sample

Usage

calcDivIndexes(dgeObject, group = NULL)

Arguments

dgeObject

DGEList object with barcode counts.

group

Optional, column name in sample metadata to group samples by (string).

Value

Returns a data-frame containing the calculated diversity indices per sample

Details

calcDivIndexes

Calculates common diversity indices per sample in a dataframe of counts

Examples

data(test.dge)
indexes <- calcDivIndexes(test.dge)