rotate_mat: Orients a matrix for proper display in a plot

Description Usage Arguments Value

View source: R/rotate_mat.R

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

1

Arguments

mat

a matrix

Value

The matrix "mat" rotated 90 degrees.


cape documentation built on Feb. 10, 2021, 5:06 p.m.