View source: R/AUC_of_cross_function.R
| AUC_of_cross_function | R Documentation | 
Calculate the difference of area under the curve (AUC) between two curves, normalised by the total area of the graph.
AUC_of_cross_function(df.cross)
df.cross | 
 Data.frame. The output of
  | 
A number
df_cross <- calculate_cross_functions(SPIAT::defined_image, method = "Kcross",
              cell_types_of_interest = c("Tumour","Immune3"),
              feature_colname ="Cell.Type", dist = 100)
AUC_of_cross_function(df_cross)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.