View source: R/crossing_of_crossK.R
crossing_of_crossK | R Documentation |
Determine if there is a crossing in the cross K curves, to further detect the existence of potential immune rings.
crossing_of_crossK(df.cross)
df.cross |
Data.frame. The output of
|
A number. The percentage of the crossing position of the specified distance. Returns NA when the crossing happens too close to the y axis (<4
df_cross <- calculate_cross_functions(SPIAT::defined_image, method="Kcross",
cell_types_of_interest = c("Tumour","Immune3"),
feature_colname ="Cell.Type", dist = 100)
crossing_of_crossK(df_cross)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.