data("locations")
data("expression")
locations = as.matrix(locations)
expression = as.matrix(expression)
expression = expression[,1:5]
results = spatial_enrichment(data = expression, locations = locations,
gene1 = "Calb1", gene2 = "Rasgrf2", max_pairs = 100)
Run the code above in your browser using DataLab