rotate_mat: Orients a matrix for proper display in a plot

View source: R/rotate_mat.R

rotate_matR Documentation

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)

Arguments

mat

a matrix

Value

The matrix "mat" rotated 90 degrees.


cape documentation built on May 29, 2024, 5:11 a.m.