GetCropWindows | R Documentation |
This function can be used to define "crop windows" based on sets of target spots.
GetCropWindows( object, group.by = NULL, groups.to.keep = NULL, symmetric = TRUE, keep.all.spots = FALSE, xy_padding = 50 )
object |
A Seurat object created with STutility |
group.by |
A meta.data column to group the spots by. Only character vector or factors are allowed. Selects "labels" by default. |
groups.to.keep |
Provide a caharcter vector of groups to keep. |
symmetric |
Make crop window square. This will mkae it easier to align images in dowstream processing steps. |
keep.all.spots |
Keep all spots within selected crop windows and not just the spots belonging to the predefined groups. All spots that are present in multiple crop windows will be removed. |
xy_padding |
Increase the crop area in all directions. Given in pixels. |
A list of "crop geometries" to be used with CropImages
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.