Learn R Programming

growthPheno (version 3.1.13)

Functional Analysis of Phenotypic Growth Data to Smooth and Extract Traits

Description

Assists in the plotting and functional smoothing of traits measured over time and the extraction of features from these traits, implementing the SET (Smoothing and Extraction of Traits) method described in Brien et al. (2020) Plant Methods, 16. Smoothing of growth trends for individual plants using natural cubic smoothing splines or P-splines is available for removing transient effects and segmented smoothing is available to deal with discontinuities in growth trends. There are graphical tools for assessing the adequacy of trait smoothing, both when using this and other packages, such as those that fit nonlinear growth models. A range of per-unit (plant, pot, plot) growth traits or features can be extracted from the data, including single time points, interval growth rates and other growth statistics, such as maximum growth or days to maximum growth. The package also has tools adapted to inputting data from high-throughput phenotyping facilities, such from a Lemna-Tec Scananalyzer 3D (see for more information). The package 'growthPheno' can also be installed from .

Copy Link

Version

Install

install.packages('growthPheno')

Monthly Downloads

385

Version

3.1.13

License

GPL (>= 2)

Maintainer

Chris Brien

Last Published

July 22nd, 2025

Functions in growthPheno (3.1.13)

args4smoothing

Creates a list of the values for the smoothing parameters to be passed to a smoothing function
byIndv4Intvl_GRsDiff

Calculates the growth rates for a specified time interval for individuals in a data.frame in long format by differencing the values for a response within the interval.
as.smooths.frame

Forms a smooths.frame from a data.frame, ensuring that the correct columns are present.
byIndv4Intvl_WaterUse

Calculates, water use traits (WU, WUR, WUI) over a specified time interval for each individual in a data.frame in long format.
byIndv4Times_GRsDiff

Adds, to a data.frame, the growth rates calculated for consecutive times for individuals in a data.frame in long format by differencing response values.
byIndv4Intvl_ValueCalc

Calculates a single value that is a function of the values of an individual for a response in a data.frame in long format over a specified time interval.
args4profile_plot

Creates a list of the values for the options of profile plots for comparing smooths
byIndv4Intvl_GRsAvg

Calculates the growth rates for a specified time interval for individuals in a data.frame in long format by taking weighted averages of growth rates for times within the interval.
args4devnboxes_plot

Creates a list of the values for the options of profile plots for comparing smooths
args4meddevn_plot

Creates a list of the values for the options of median deviations plots for smooths
calcLagged

Replaces the values in a vector with the result of applying an operation to it and a lagged value
growthPheno-deprecated

Deprecated Functions in the Package growthPheno
exampleData

A small data set to use in function examples
calcTimes

Calculates for a set of times, the time intervals after an origin time and the position of each within a time interval
cumulate

Calculates the cumulative sum, ignoring the first element if exclude.1st is TRUE
getTimesSubset

Forms a subset of responses in data that contains their values for the nominated times
designFactors

Adds the factors and covariates for a blocked, split-unit design
byIndv_ValueCalc

Calculates a single value that is a function of an individual's values for a response.
growthPheno-package

tools:::Rd_package_title("growthPheno")
byIndv4Times_SplinesGRs

For a response in a data.frame in long format, computes, for a single set of smoothing parameters, smooths of the response, possibly along with growth rates calculated from the smooths.
importExcel

Imports an Excel imaging file and allows some renaming of variables
plotImagetimes

Plots the position of a time within an interval against the interval for image
plotDeviationsBoxes

Produces boxplots of the deviations of the observed values from the smoothed values over values of x.
plotProfiles

Produces profile plots of longitudinal data for a set of individuals
is.smooths.frame

Tests whether an object is of class smooths.frame
plotAnom

Identifies anomalous individuals and produces profile plots without them and with just them
intervalPVA.data.frame

Selects a subset of variables using Principal Variable Analysis (PVA), based on the observed values within a specified time interval
plotSmoothsDevnBoxplots

Produces boxplots for several sets of deviations of the smoothed values from a response, possibly along with growth rates.
plotSmoothsComparison

Plots several sets of smoothed values for a response, possibly along with growth rates and optionally including the unsmoothed values, as well as deviations boxplots.
plotCorrmatrix

Calculates and plots correlation matrices for a set of responses
rcontrib.matrix

Computes a measure of how correlated each variable in a set is with the other variable, conditional on a nominated subset of them
smooths.frame

Description of a smooths.frame object
rcontrib

Computes a measure of how correlated each variable in a set is with the other variable, conditional on a nominated subset of them
tomato.dat

Longitudinal data for an experiment to investigate tomato response to mycorrhizal fungi and zinc
probeSmooths

For a response in a data.frame in long format, computes and compares, for sets of smoothing parameters, smooths of the response, possibly along with growth rates calculated from the smooths.
rcontrib.data.frame

Computes a measure of how correlated each variable in a set is with the other variable, conditional on a nominated subset of them
prepImageData

Prepares raw imaging data for further processing
traitExtractFeatures

Extract features, that are single-valued for each individual, from traits observed over time.
smoothSpline

Fit a spline to smooth the relationship between a response and an x in a data.frame, optionally computing growth rates using derivatives.
plotSmoothsMedianDevns

Calculates and plots the medians of the deviations from the observed values for several sets of smoothed values stored in a data.frame in long format.
validSmoothsFrame

Checks that an object is a valid smooths.frame.
traitSmooth

Obtain smooths for a trait by fitting spline functions and, having compared several smooths, allows one of them to be chosen and returned in a data.frame.
twoLevelOpcreate

Creates a data.frame formed by applying, for each response, a binary operation to the paired values of two different treatments
args4chosen_plot

Creates a list of the values for the options of profile plots for the chosen smooth
PVA.matrix

Selects a subset of variables using Principal Variable Analysis (PVA) based on a correlation matrix
RiceRaw.dat

Data for an experiment to investigate a rice germplasm panel
WUI

Calculates the Water Use Index (WUI)
RicePrepped.dat

Prepped data from an experiment to investigate a rice germplasm panel.
PVA

Selects a subset of variables using Principal Variable Analysis (PVA)
args4chosen_smooth

Creates a list of the values for the smoothing parameters for which a smooth is to be extracted
GrowthRates

Calculates growth rates (AGR, PGR, RGRdiff) between pairs of values in a vector
anom

Tests if any values in a vector are anomalous in being outside specified limits
PVA.data.frame

Selects a subset of variables stored in a data.frame using Principal Variable Analysis (PVA)