plotQuaternary.simMat {CytoSimplex} | R Documentation |
Create quaternary simplex plot with pre-calculated similarity matrix
Description
Create quaternary simplex plot with pre-calculated similarity matrix
Usage
## S3 method for class 'simMat'
plotQuaternary(
x,
veloMat = NULL,
nGrid = 10,
radius = 0.2,
dotSize = NULL,
colorArg = NULL,
labelColors = c("#3B4992FF", "#EE0000FF", "#008B45FF", "#631879FF"),
arrowLinewidth = NULL,
arrowAngle = 20,
arrowLen = 0.1,
vertexLabelSize = NULL,
edgeLinewidth = 1,
title = NULL,
titleSize = 1,
titleColor = "black",
theta = 20,
phi = 0,
interactive = TRUE,
...
)
Arguments
x |
simMat object, n cells by 4 vertices, each row summing to 1. |
veloMat |
Aggregated velocity matrix. Output of |
nGrid |
Number of grids along the x-axis of the tetrahedron. Default
|
radius |
Arrow length of unit velocity. Lower this when arrows point
outside of the tetrahedron. Default |
dotSize |
Size of each dot. Default |
colorArg |
A "colorArg" object, internally prepared by
|
labelColors |
Colors of the vertex labels. Default
|
arrowLinewidth |
Arrow aesthetics. Default |
arrowAngle , arrowLen |
Arrow aesthetics passed to TODOOOO
|
vertexLabelSize |
Numeric, size of vertex text label relative to default
size. Default |
edgeLinewidth |
Controls the linewidth of the edges of the tetrahedron.
Default |
title |
Title text of the plot. Default |
titleSize , titleColor |
Setting on the main title text. Default |
theta , phi |
Numeric scalar. The angles defining the viewing direction.
|
interactive |
Logical. Whether to display plotly interactive view.
Default |
... |
Not used |
Value
A "quatPlot" object, can be displayed by printing.