Combine samples coming from independent experiments by stitching cells/spots coordinates through x/y coordinate shifting into a single grid
stitch_samples(
data = NULL,
x = NULL,
y = NULL,
sample.id = NULL,
max_rows = NULL,
max_cols = NULL
)
a data frame containing x and y coordinates into separate columns
name of the x coordinate column
name of the y coordinate column
character string specifying the name of the column storing sample identifiers
numeric, maximum number of samples to be disposed on a same column of the final sample grid. If set to `NULL`, maximum number of rows will be automatically calculated to obtain a square grid
numeric, maximum number of samples to be disposed on a same row of the final sample grid. If set to `NULL`, maximum number of columns will be automatically calculated to obtain a square grid
data frame object with new stitched 'x_global' and 'y_global' coordinate columns