Pick values from mapping data based on coordinates of x and y.
pick( .df, x = NULL, y = NULL, phase = if (is.null(x)) NULL else paste0("P", seq_along(x)), i = data.frame(x, y, phase), ... )
.df | Mapping data. Currentl version only supports |
---|---|
x, y | Integer vectors specifying x- and y-coordinates of pixels of mapping data. In other words, x- and y- corresponds to n-th column and row of a matrix. |
phase | Name of phases comprising the pixels to be picked.
If not manually supplied |
i | A data frame with clumns |
... | Ignored |
data.frame