- x
A matrix or dataframe with the data to be displayed. Rows are shown on the x-axis, columns on the y-axis, showing the row- and column-names in the display. All data in the whole matrix is interpreted as one large factor with different levels.
- order
How should rows and columns be ordered? By default the order of the data matrix x
is used. Many possible algorithmic orderings are available, see Details. custom orderings should simply be applied to the x
matrix beforehand, then without invoking this order
argument.
- col
Colors to be used for the display. By default, the colours specified here are used in order of frequency of the phenomena in the data (i.e. order(table(x), decreasing = TRUE
). A named vector of colors (or a named list) are applied to the levels as named. All other levels are shown as 'others'. Optionally use show.remaining
to show labels for these others in the visualisation.
- show.remaining
Logical: should all levels without color be shown inside the boxes as text?
- col.remaining
Which color should the text of the uncolored levels have?
- pch.na
Symbol to be used for NA elements. Use NULL
for no symbol, but complete coloring of the boxes.
- col.na
Color to be used for NA elements.
- legend
How many levels should be shown in the legend (in the order of frequency? Alternatively, provide a vector with names of the levels to be shown. Use NULL
to suppress the legend.
- labels.x
Labels to be used on the x-axis. Defaults to rownames of the data. Use NULL
to suppress labels.
- labels.y
Labels to be used on the y-axis. Defaults to colnames of the data. Use NULL
to suppress labels.
- cex.axis
Size of the row and columns names of x
, shown as axis labels.
- cex.legend
Size of the legend text.
- cex.remaining
Size of the text in the boxes. Only shown when show.remaining = TRUE
.
- font
Font to be used in the plotting, can be necessary for unusual unicode symbols. Passed internally to par(family)
.
- asp
Aspect-ratio of the plotting of the boxes. By default the complete plot will be approximately square. Use the value 1 for all square boxes. Manually resizing the boxes by changing the plotting window can be achieved by setting asp = NA
.
- method
Method used to determine similarity, passed to sim.obs, which is used internally to determine the order of rows and columns, using the method chosen in order
.
- control
List of options passed to seriate.
- plot
By default, a plot is returned. When FALSE
, nothing is plotted, but the re-ordering is returned.