Usage
profileplot3d(pos, profiles, normalize.rows = T, column.order = NULL,
row.cluster = NULL, column.cluster = NULL, labels = NULL, col = NULL,
color_scaling_function=NULL, point.size = 3, label.colors = NULL,
label.size = 0.5)make.profileplot3d(profiles, row.method = "nMDS", normalize.rows=T,
column.method = "average.linkage", row.metric = "pearson",
column.metric = "pearson", row.cluster.method = "average",
column.cluster.method = "average", point.size = 3, col=NULL,
color_scaling_function=NULL, labels = NULL, label.colors = NULL,
label.size = 0.5)
Arguments
pos
matrix: the 2d positions for the rows in profiles as produced by any dimensional reduction scheme.
profiles
matrix: containing the data to be plotted.
normalize.rows
logical: If TRUE, then the rows shall be normalized before plotting.
column.order
The ordering of the columns, as would be the case in a typical heatmap, produced using some dimensional reduction scheme. If it is NULL, then the ordering in profiles is used.
row.cluster
hierarchical clustering result (of type hclust
), of the rows, for superimposing the clustering result on the 3d profile plot. If it is NULL, no cluster result will be plotted.
column.cluster
similar to row.cluster
except for the clustering of columns.
labels
labels for the rows. If it is set to NULL, no labels will be plotted.
col
A list of colors such as that generated by rainbow
used in depicting low to high intensities as in a heat-map.
color_scaling_function
A function mapping [0:1] onto [0:1] used for scaling the color levels. If Null, linear scaling is performed
point.size
The size of intensity points.
label.colors
A list of colors used for the row labels
label.size
size of row labels.
row.method
dimensional reduction method for embedding rows, currently only "PCA" and "nMDS" are supported.
column.method
dimensional reduction method for ordering columns. Can be any one of "nMDS", "PCA", "average.linkage" and "complete.linkage".
row.metric
the distance function used for row embedding. Can be either "pearson" or "euclidean".
column.metric
like row.metric
except for columns.
row.cluster.method
clustering method used for superposed row cluster. Either "complete.linkage" or "average.linkage".
column.cluster.method
like row.metric
except for columns.