Calculate Univariate Ripley's K function for IF data
This function calculates Ripley's K function of IF data to characterize correlation of spatial point process using tranlation and isotropic edge correction method.
ripleys_k( mif, id, mnames, r_range = seq(0, 100, 50), num_permutations = 50, edge_correction = "translation", kestimation = TRUE, keep_perm_dis = FALSE, mlabels = NULL )
mif |
An MIF object |
id |
Character string of variable name for subject ID in TMA data. |
mnames |
Character vector of marker names to calculate Ripley's K on. |
r_range |
Numeric vector of potential r values to estimate K at. |
num_permutations |
Numeric value indicating the number of permutations used. Default is 50. |
edge_correction |
Character value indicating the type of edge correction to use. Options include "translation", "isotropic" or "border". Various edges corrections are most appropriate in different settings. Default is "translation". |
kestimation |
Logical value determining the type estimation performed. TRUE estimates Ripley's reduced second moment function while FALSE estimates Besags's transformation of Ripley's K. |
keep_perm_dis |
Logical value determining whether or not to keep the full distribution of permuted K values |
mlabels |
Character vector of label for marker names to display in the marker column. |
Returns a list
r |
Subject ID in TMA data |
theo |
Ripley's K estimate |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.