Learn R Programming

retistruct (version 0.6.3)

CountSet: Subclass of FeatureSet to represent counts centred on points

Description

A CountSet contains information about points located on Outlines. Each CountSet contains a list of matrices, each of which has columns labelled X and Y describing the cartesian coordinates (in the unscaled coordinate frame) of the centres of boxes in the Outline, and a column C representing the counts in those boxes.

Arguments

Methods

Public methods

Method new()

Constructor

Usage

CountSet$new(data = NULL, cols = NULL)

Arguments

data

List of matrices describing data. Each matrix should have columns named X, Y and C

cols

Named vector of colours for each data set. The name is used as the ID (label) for the data set. The colours should be names present in the output of the colors function

Method reconstruct()

Map the CountSet to a ReconstructedOutline

Usage

CountSet$reconstruct(ro)

Arguments

ro

The ReconstructedOutline

Method clone()

The objects of this class are cloneable with this method.

Usage

CountSet$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.