Convert Kontextual or state changes result to a matrix for classification
Source:R/Konditional.R
prepMatrix.RdConvert Kontextual or state changes result to a matrix for classification
Examples
data("kerenSCE")
CD4_Kontextual <- Kontextual(
cells = kerenSCE,
r = 50,
from = "Macrophages",
to = "Keratin_Tumour",
parent = c("Macrophages", "CD4_Cell"),
image = "6"
)
kontextMat <- prepMatrix(CD4_Kontextual)