Plot heatmap of the sample scores
sampleScoreHeatmap(
score,
dataName,
modelName,
cluster_rows = TRUE,
cluster_columns = TRUE,
show_row_names = TRUE,
show_column_names = TRUE,
row_names_gp = 0.7,
column_names_gp = 5,
...
)An output from calculateScore function, which is
a matrix with samples (row) and PrcompClusters (column) If it is a simple
vector, it will be converted to a one-column matrix.
Title on the row. The name of the dataset to be scored.
Title on the column. The RAVmodel used for scoring.
A logical. Under the default (TRUE), rows will be
clustered.
A logical. Under the default (TRUE), columns
will be clustered.
Whether show row names. Default is TRUE, showing
the row name.
Whether show column names. Default is TRUE,
showing the column name.
Graphic parameters for row names. The default is 0.7.
Graphic parameters for column names. The default is 5.
Any additional argument for Heatmap
A heatmap of the sample score. Rows represent samples and columns represent RAVs.
data(miniRAVmodel)
library(bcellViper)
data(bcellViper)
score <- calculateScore(dset, miniRAVmodel)
sampleScoreHeatmap(score, dataName="bcellViper", modelName="miniRAVmodel")