entropy function

Entropy

Entropy

entropy(df, r_vec, markvar)

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.

Returns

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

Details

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.

Author(s)

Thao Vu thao.3.vu@cuanschutz.edu

Alex Soupir alex.soupir@moffitt.org