Skip to contents

Similar as how default ligerDataset data is accessed.

Usage

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

Arguments

x

ligerSpatialDataset object or a liger object.

dataset

Name or numeric index of an spatial dataset.

check

Logical, whether to perform object validity check on setting new value.

value

matrix.

Value

The retrieved coordinate matrix or the updated x object.