heatmapTable | R Documentation |
This function subsets validate
outputs with different criteria
and visualize it in a heatmap-like table.
heatmapTable(
val_all,
RAVmodel,
ind = NULL,
num.out = 5,
scoreCutoff = NULL,
swCutoff = NULL,
clsizeCutoff = NULL,
breaks = c(0, 0.5, 1),
colors = c("white", "white smoke", "red"),
column_title = NULL,
row_title = NULL,
whichPC = NULL,
filterMessage = TRUE,
...
)
val_all |
An output matrix from |
RAVmodel |
PCAGenomicSignatures-class object. RAVmodel used to prepare
|
ind |
An integer vector. If this parameter is provided, the other
parameters, |
num.out |
A number of highly validated RAVs to output. Default is 5.
If any of the cutoff parameters are provided, |
scoreCutoff |
A numeric value for the minimum correlation (not include).
If |
swCutoff |
A numeric value for the minimum average silhouette width. |
clsizeCutoff |
A integer value for the minimum cluster size. |
breaks |
A numeric vector of length 3. Number represents the values
assigned to three colors. Default is |
colors |
A character vector of length 3. Each represents the color
assigned to three breaks. Default is |
column_title |
A character string. Provide the column title. |
row_title |
A character string. Provide the row title. |
whichPC |
An integer value between 1 and 8. PC number of your data to
check the validated signatures with. Under the default ( |
filterMessage |
A logical. Under the default |
... |
any additional argument for |
A heatmap displaying the subset of the validation result that met the
given cutoff criteria. If val_all
input is from a single dataset, the
output heatmap will contain both score and average silhouette width for each
cluster.
If val_all
input is from multiple studies, the output heatmap's rows
will represent each study and the columns will be RAVs, which meet
scoreCutoff
for any of the input studies.
data(miniRAVmodel)
library(bcellViper)
data(bcellViper)
## Single dataset
val_all <- validate(dset, miniRAVmodel)
heatmapTable(val_all, miniRAVmodel, swCutoff = 0)
## A list of datasets
val_all2 <- validate(miniTCGA, miniRAVmodel)
heatmapTable(val_all2, miniRAVmodel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.