moss_heatmap: Creates a heatmap from the output of MOSS.

View source: R/moss_heatmap.R

moss_heatmapR Documentation

Creates a heatmap from the output of MOSS.

Description

Creates a heatmap from the output of MOSS.

Usage

moss_heatmap(B, SVD, right.lab, left.lab, axes.pos = NULL, verbose = TRUE)

Arguments

B

An bject of class 'matrix' or 'FBM'.

SVD

List with the results of a sparse or dense SVD.

right.lab

Columns title. Character.

left.lab

Rows title. Character.

axes.pos

What SVD dimensions should be used to plot the heatmap? If NULL, all the SVD dimensions are use. Defaults to NULL.

verbose

Should we print messages? Logical. Defaults to TRUE.

Value

Returns a 'ComplexHeatmap' plot representing the cross-product between left and right Eigenvectors.


MOSS documentation built on March 26, 2022, 1:10 a.m.