OutlinesA FeatureSet contains information about features
located on Outlines. 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)
dataList of matrices describing data. Each matrix
should have columns named X and Y
colsNamed 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
typeString
clone()The objects of this class are cloneable with this method.
FeatureSet$clone(deep = FALSE)
deepWhether to make a deep clone.