| heatmapPlot | R Documentation |
Generate a heatmap plot.
heatmapPlot(
data,
which.cell = NULL,
which.gene = NULL,
aggregate = c("none", "row", "column"),
counted = FALSE,
color = "RdBu",
color.bins = 7,
order = TRUE,
order.dist = "minkowski",
p = 1,
filter = FALSE,
low.cutoff = -Inf,
high.cutoff = Inf,
return.data = FALSE,
Rowv = NA,
Colv = NA,
trace = "none",
margins = c(10, 10),
na.color = "black",
key = TRUE,
show.text = TRUE,
...
)
data |
Data matrix to plot |
which.cell |
Interacting cell type name or index to plot. Default is NULL. |
which.gene |
Interacting gene name or index to plot. Default is NULL. |
aggregate |
Type of aggregation used.
|
counted |
Aggregate interactions counts instead of strengths. Default is FALSE. |
color |
Color palette name. Default is "RdBu", high values are in red and low values in blue. See details |
color.bins |
Number of differen colors in pallete. Default is 7. See detail |
order |
Whether to order the input data. Default is TRUE. See details |
order.dist |
Distance measure to be used. Default is "minkowski". See details |
p |
Power of Minkowski distance Default is 1, aka Manhattan distance. See details |
filter |
Whether to filter the input data based on low.cutoff and high.cutoff. Default is FALSE. |
low.cutoff |
Lower cutoff bound below which will be removed. Default is negative infinity. |
high.cutoff |
Upper cutoff bound above which will be removed. Default is positive infinity. |
return.data |
Whether to return the data used to plot. Default is FALSE. |
Rowv |
Whether to hierarchical cluster the rows. Default is NA. See details |
Colv |
Whether to hierarchical cluster the columns Default is NA. See details |
trace |
Whether to show the trace line. Defaults is none. See details |
margins |
Plot margins. Defaults is c(10,10) See details |
na.color |
Color for missing values (NAs). Defaults is black. See details |
key |
Whether to show the key. Defaults is TRUE. See details |
show.text |
Whether to show title, x-axis and y-axis text. Defaults is TRUE. |
... |
Additioanl arguments passed to |
Plot a heatmap and optionally return the data used to generate the plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.