Displays the samples coordinates for a given latent component across the datasets.
This is a copy of the plotDiablo function, the only difference is that the
margins have been increased to accomodate for a title.
Arguments
- diablo_res
The output from
block.splsdaordiablo_run.- ncomp
Integer, the latent component to plot.
- legend
Logical, should the legend be added to the plot? Default value is
TRUE.- legend.ncol
Integer, the number of columns for the legend. If none specified, will be calculated as
min(5, nlevels(diablo_res$Y)).- col.per.group
Named character vector, provides the colours to use for each phenotypic group. Names must match the levels of
diablo_res$Y.
