library(spacexr)
library(spASE)
res <- readRDS('results/rctd_hippo_2.rds')
maternal_counts_matrix <- res@originalSpatialRNA@maternalCounts
paternal_counts_matrix <- res@originalSpatialRNA@paternalCounts
coords <- res@originalSpatialRNA@coords
coords$bead <- rownames(coords)
coords <- coords[c('bead','x','y')]
myfit <- spase(maternal_counts_matrix, paternal_counts_matrix, coords, min.pixels=2^7, cores=8)
saveRDS(myfit, file = 'results/results_overall_spatial_hippo_2.rds')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.