CreateStaffliObject | R Documentation |
Create a Staffli object from set of images and associated spot coordinates.
CreateStaffliObject(imgs = NULL, meta.data, xdim = 400, platforms = NULL)
imgs |
Character vector specifying paths to images in jpg or png format. |
meta.data |
Spot-level metadata to add to the Staffli object. Should be a data.frame with required fields 'x' and 'y' which specifies the ST array coorindates and a column calles 'sample' which maps spots to a certain image. |
xdim |
Specifies the width of the scaled images in pixels [default: 400 pixels] |
platforms |
Specify the platforms used to generate the ST data [options: 'Visium', '2k', '1k'] |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.