View source: R/visium.utilities.R View source: R/.ipynb_checkpoints/visium.utilities-checkpoint.R
getMeanSpotColor | R Documentation |
Extracts mean color of spots
getMeanSpotColor(vis, scalefactors, image.name = NULL)
vis |
Seurat object |
scalefactors |
list of scale factors (see Details) |
Seurat version 4.1.0 for stores wrong value for spot size in . So one needs to load scale factors themself using jsonlite::read_json('/spatial/scalefactors_json.json')). Output of read_json can be used as scalefactors parameter.
matrix with three coumns (red, green, blue) and number of rows equal to the number of spots in vis object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.