Learn R Programming

Cardinal (version 1.4.0)

coord-methods: Retrieve Pixel Coordinates from iSets

Description

These generic functions accesses pixel coordinates stored in an object derived from iSet. The coordinates method is an alias for coord.

Usage

coord(object) coord(object) <- value
coordinates(object) coordinates(object) <- value
coordLabels(object) coordLabels(object) <- value

Arguments

object
An object, possible derived from iSet.
value
Value to be assigned to the corresponding object.

Value

coord returns a data.frame with each row containing coordinates for an individual pixel. coordLabels retrieves the coordinate labels.

See Also

iSet, SImageSet, MSImageSet