xy-methods: 2D Cell Coordinates

Description Usage Arguments

Description

A matrix of size n by 2, for n cells. The first column is the x coordinate in the tissue, and the second is the y.

Set the cell coordinates.

Usage

1
2
3
4
5
6
xy(object)

xy(object) <- value

## S4 method for signature 'SPData'
xy(object)

Arguments

object

The SPData object from which to retrieve ethe coordinates

value

New cell coordinanes. Must be an ncell-by-2 matrix.


kieranrcampbell/SpatialPRo documentation built on May 20, 2019, 9:24 a.m.