readPolygonFilesVizgen#
Last Updated: Nov 17, 2023
Description#
Read selected polygon files for the FOVs present in the Giotto object and add the smoothed polygons to the object
Usage#
readPolygonFilesVizgen(
gobject,
boundaries_path,
fovs = NULL,
polygon_feat_types = 0:6,
flip_x_axis = F,
flip_y_axis = F,
smooth_polygons = TRUE,
smooth_vertices = 60,
set_neg_to_zero = FALSE,
return_gobject = TRUE,
verbose = TRUE
)
Arguments#
|
giotto object |
|
path to the cell_boundaries folder |
|
selected fovs, if NULL select all fovs within Giotto object |
|
a vector containing the polygon feature types |
|
flip x axis of polygon coordinates (multiply by -1) |
|
flip y axis of polygon coordinates (multiply by -1) |
|
smooth polygons (default = TRUE) |
|
number of vertices for smoothing |
|
set negative values to zero when smoothing |
|
return giotto object |
|
be verbose |
See Also#
smoothGiottoPolygons