A wrapper for running the DOT algorithm for high-resolution spatial data with suggested parameters
run.DOT.highresolution.Rd
A wrapper for running the DOT algorithm for high-resolution spatial data with suggested parameters
Arguments
- object
A DOT object created using create.DOT().
- ratios_weight
A value between 0 and 1 for matching ratio of cell types
- iterations
Integer. Maximum number of iterations of FW
- verbose
Boolean. Whether progress should be displayed.
Examples
data(dot.sample)
dot.ref <- setup.ref(dot.sample$ref$counts[, 1:1000], dot.sample$ref$labels[1:1000], 2)
dot.srt <- setup.srt(dot.sample$srt$counts, dot.sample$srt$coordinates)
#> Computing spatial radius
dot <- create.DOT(dot.srt, dot.ref)
# No. iterations is reduced to 10 for this example (default is 100)
dot <- run.DOT.highresolution(dot, iterations = 10)