coordinate: Access ligerSpatialDataset coordinate data

coordinateR Documentation

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 signature 'liger,character'
coordinate(x, dataset)

## S4 replacement method for signature 'liger,character'
coordinate(x, dataset, check = TRUE) <- value

## S4 method for signature 'ligerSpatialDataset,missing'
coordinate(x, dataset = NULL)

## S4 replacement method for signature '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.


rliger documentation built on Oct. 30, 2024, 1:07 a.m.