
Heatmap of clinical association across populations or markers
Source:R/clinical.R
fig_clinical_heatmap.RdWHAT IS ON THE TILE. The signed effect where one exists – Spearman's rho, or Cliff's delta – so the colour carries direction as well as strength. A Kruskal-Wallis row has no signed effect and is drawn grey with its p-value, because a three-level variable has no single direction to show.
Usage
fig_clinical_heatmap(
assoc,
key_col,
outfile,
title = "Clinical association",
dpi = 200,
colors = fcs_colors()
)Arguments
- assoc
data frame from
clin_associate().- key_col
"population" or "marker".
- outfile
path.
- title
figure title.
- dpi
resolution.
- colors
palette.