Similar as how default ligerDataset data is accessed.
coordinate(x, dataset)coordinate(x, dataset, check = TRUE) <- value
# S4 method for liger,character
coordinate(x, dataset)
# S4 method for liger,character
coordinate(x, dataset, check = TRUE) <- value
# S4 method for ligerSpatialDataset,missing
coordinate(x, dataset = NULL)
# S4 method for ligerSpatialDataset,missing
coordinate(x, dataset = NULL, check = TRUE) <- value
The retrieved coordinate matrix or the updated x
object.
ligerSpatialDataset object or a liger object.
Name or numeric index of an spatial dataset.
Logical, whether to perform object validity check on setting new value.