plotHeatmapSRD {rSRD} | R Documentation |
plotHeatmapSRD
Description
Heatmap is generated based on the pairwise distance - measured in SRD - of the columns. Each column is set as reference once, then SRD values are calculated for the other columns.
Usage
plotHeatmapSRD(df, output_to_file = FALSE)
Arguments
df |
A DataFrame. |
output_to_file |
Logical. If true, the distance matrix will be saved to the hard drive. |
Value
Returns a heatmap and the corresponding distance matrix.
Author(s)
Attila Gere gereattilaphd@gmail.com, Linus Olsson linusmeol@gmail.com, Jochen Staudacher jochen.staudacher@hs-kempten.de
Examples
srdInput <- data.frame(
A=c(32, 52, 44, 44, 47),
B=c(73, 75, 65, 76, 70),
C=c(60, 59, 57, 55, 60),
D=c(35, 24, 44, 83, 47),
E=c(41, 52, 46, 50, 65))
plotHeatmapSRD(srdInput)
[Package rSRD version 0.1.7 Index]