Calculate Shannon Entropy for a Gene Expression Vector

calc_entropy(data_series)

Arguments

data_series

Numeric vector of gene expression data

left

Numeric, left boundary value for histogram bins

right

Numeric, right boundary value for histogram bins

step

Numeric, interval for histogram bins

Value

Numeric value representing the Shannon entropy