Outline
sA FeatureSet contains information about features
located on Outline
s. Each FeatureSet contains a
list of matrices, each of which has columns labelled X
and Y
describing the cartesian coordinates of points on
the Outline, in the unscaled coordinate frame. Derived classes,
e.g. a CountSet
, may have extra columns. Each matrix
in the list has an associated label and colour, which is used by
plotting functions.
retistruct::FeatureSetCommon
-> FeatureSet
new()
Constructor
FeatureSet$new(data = NULL, cols = NULL, type = NULL)
data
List of matrices describing data. Each matrix
should have columns named X
and Y
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
type
String
clone()
The objects of this class are cloneable with this method.
FeatureSet$clone(deep = FALSE)
deep
Whether to make a deep clone.