stitchFieldCoordinates: stitchFieldCoordinates

Description Usage Arguments Details Value

View source: R/general_help.R

Description

Helper function to stitch field coordinates together to form one complete picture

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
stitchFieldCoordinates(
  location_file,
  offset_file,
  cumulate_offset_x = F,
  cumulate_offset_y = F,
  field_col = "Field of View",
  X_coord_col = "X",
  Y_coord_col = "Y",
  reverse_final_x = F,
  reverse_final_y = T
)

Arguments

location_file

location dataframe with X and Y coordinates

offset_file

dataframe that describes the offset for each field (see details)

cumulate_offset_x

(boolean) Do the x-axis offset values need to be cumulated?

cumulate_offset_y

(boolean) Do the y-axis offset values need to be cumulated?

field_col

column that indicates the field within the location_file

X_coord_col

column that indicates the x coordinates

Y_coord_col

column that indicates the x coordinates

reverse_final_x

(boolean) Do the final x coordinates need to be reversed?

reverse_final_y

(boolean) Do the final y coordinates need to be reversed?

Details

Stitching of fields:

Value

Updated location dataframe with new X ['X_final'] and Y ['Y_final'] coordinates


bernard2012/Giotto documentation built on Sept. 22, 2020, 10:29 a.m.