mm_pheno_plot: Visualize PC axes

View source: R/plotting.R

mm_pheno_plotR Documentation

Visualize PC axes

Description

Plot a scatterplot and vizualize shape change across the X axis.

Usage

mm_pheno_plot(pheno, xPC = 1, yPC = 2, yr = c(0, 1), title = "")

Arguments

pheno

Output of mm_phenotype, containing a PCA object with PC shapes

xPC

The PC to be plotted on the x axis

yPC

The PC to be plotted on the y axis

yr

The y-xis range, in the format c(0,1)

title

To be used for the plot

Details

Meant to be a quick diagnostic plot with minimal customization.


ehrlichd/moRphomenses documentation built on Aug. 6, 2022, 2:32 a.m.