qnorm_pheno: Plot trait distributions

View source: R/qnorm_pheno.R

qnorm_phenoR Documentation

Plot trait distributions

Description

This function plots the quantiles of each trait against quantiles of a theoretical normal distribution. This provides a way to check whether traits are normally distributed

Usage

qnorm_pheno(data_obj, pheno_which = NULL, pheno_labels = NULL)

Arguments

data_obj

a Cape object

pheno_which

A vector of trait names to plot. The default is to plot all traits.

pheno_labels

A vector of names for traits to appear in the plot in case the column names are not very pretty.


TheJacksonLaboratory/CAPE documentation built on Feb. 12, 2024, 4:32 p.m.