Learn R Programming

growthPheno (version 3.1.12)

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

418

Version

3.1.12

License

GPL (>= 2)

Maintainer

Chris Brien

Last Published

May 2nd, 2025

Functions in growthPheno (3.1.12)

PVA.matrix

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

Calculates the Water Use Index (WUI)
PVA.data.frame

Selects a subset of variables stored in a data.frame 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
args4smoothing

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

Calculates, water use traits (WU, WUR, WUI) over a specified time interval for each individual in a data.frame in long format.
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.
args4devnboxes_plot

Creates a list of the values for the options of profile plots for comparing smooths
as.smooths.frame

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

Creates a list of the values for the options of median deviations plots for smooths
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
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_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.
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
calcTimes

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

A small data set to use in function examples
getTimesSubset

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

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

Adds the factors and covariates for a blocked, split-unit design
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.
byIndv_ValueCalc

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

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

Plots the position of a time within an interval against the interval for image
is.smooths.frame

Tests whether an object is of class smooths.frame
plotDeviationsBoxes

Produces boxplots of the deviations of the observed values from the smoothed values over values of x.
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.
importExcel

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

Calculates and plots correlation matrices for a set of responses
plotAnom

Identifies anomalous individuals and produces profile plots without them and with just them
plotProfiles

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

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

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
tomato.dat

Longitudinal data for an experiment to investigate tomato response to mycorrhizal fungi and zinc
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.
traitExtractFeatures

Extract features, that are single-valued for each individual, from traits observed over time.
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.
smoothSpline

Fit a spline to smooth the relationship between a response and an x in a data.frame, optionally computing growth rates using derivatives.
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
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
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
RiceRaw.dat

Data for an experiment to investigate a rice germplasm panel
anom

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

Selects a subset of variables using Principal Variable Analysis (PVA)
RicePrepped.dat

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

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