Learn R Programming

mxfda (version 0.2.2-1)

entropy: Entropy

Description

Entropy

Usage

entropy(df, r_vec, markvar)

Value

data frame with entropy calculated for length(r_vec) bins within 0 to max(r_vec)

Arguments

df

data frame with x and y columns, along with a column for point marks

r_vec

vector of length wanted for breaks (will be rescaled) with max value at max for measuring entropy

markvar

The name of the variable that denotes cell type(s) of interest. Character.

Details

[Experimental]

References

Vu, T., Seal, S., Ghosh, T., Ahmadian, M., Wrobel, J., & Ghosh, D. (2023). FunSpace: A functional and spatial analytic approach to cell imaging data using entropy measures. PLOS Computational Biology, 19(9), e1011490.

Altieri, L., Cocchi, D., & Roli, G. (2018). A new approach to spatial entropy measures. Environmental and ecological statistics, 25, 95-110.