Learn R Programming

rliger (version 2.0.1)

coordinate: Access ligerSpatialDataset coordinate data

Description

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

Value

The retrieved coordinate matrix or the updated x object.

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.