Learn R Programming

cape (version 3.1.2)

rotate_mat: Orients a matrix for proper display in a plot

Description

This function reassembles a matrix so that when we use image to plot, the matrix appears in the image in the same orientation in which it is printed to the screen are in rows and the phenotypes in columns

Usage

rotate_mat(mat)

Value

The matrix "mat" rotated 90 degrees.

Arguments

mat

a matrix