Extract per-bandwidth fits
Arguments
- object
a SpiDEResults object.
Value
a named list of SpiDEFit objects, one per bandwidth.
Examples
data(toySpiDE)
spe <- buildNiches(toySpiDE, sigma = 20)
res <- fitSpiDE(spe, condition = "condition", sigma = 20, random = "none", verbose = FALSE)
fits(res)
#> $Niche20
#> SpiDEFit
#> Bandwidth (sigma): 20
#> Data: 20 genes, 480 cells/spots
#> Covariates: 19 (CellType=3, Niche=4, Response=0, ResponseNiche=6, ResponseCellType=3, Other=3)
#> alpha: num [1:20, 1:19] 2.63 -0.126 -0.675 -0.477 0.099 ...
#> alpha: - attr(*, "dimnames")=List of 2
#> alpha: ..$ : chr [1:20] "G1" "G2" "G3" "G4" ...
#> alpha: ..$ : chr [1:19] "CellTypeA" "CellTypeB" "CellTypeC" "A" ...
#> psi: num [1:20] 0.282 1.422 1.03 1.077 1.016 ...
#> Converged per gene: yes (0 restarted, 0 capped)
#> Inference computed: FALSE
#>