plot_basis: Plots a heatmap of the basis.

Description Usage Arguments Value See Also Examples

Description

Plots a heatmap of the basis.

Usage

1
plot_basis(b, n_cl = NA, ...)

Arguments

b

The basis matrix, containing the basis vectors in the columns.

n_cl

The number of clusters individual basis vectors are grouped into. NA means no clustering is performed.

...

other arguments passed to pheatmap.

Value

Nothing. Just plots :O

See Also

plot_red for a geometric visualization.

Examples

1
2
3
4
S <- matrix(c(1,0,0,1,-1,0, 0, -1), nrow=2)
rownames(S) <- c('A', 'B')
V <- polytope_basis(S)
plot_basis(V)

cdiener/dycone documentation built on May 13, 2019, 2:41 p.m.