Learn R Programming

⚠️There's a newer version (3.1.12) of this package.Take me there.

growthPheno (version 2.1.25)

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

424

Version

2.1.25

License

GPL (>= 2)

Maintainer

Chris Brien

Last Published

July 24th, 2024

Functions in growthPheno (2.1.25)

WUI

Calculates the Water Use Index (WUI)
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
anom

Tests if any values in a vector are anomalous in being outside specified limits
RicePrepped.dat

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

Data for an experiment to investigate a rice germplasm panel
byIndv4Intvl_WaterUse

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

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

Creates a list of the values for the options of profile plots for comparing smooths
args4devnboxes_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.
args4smoothing

Creates a list of the values for the smoothing parameters to be passed to a smoothing function
PVA.matrix

Selects a subset of variables using Principal Variable Analysis (PVA) based on a correlation matrix
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.
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
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.
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.
fitSpline

Fits a spline to a response in a data.frame, and growth rates can be computed using derivatives
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.
growthPheno-deprecated

Deprecated Functions in the Package growthPheno
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
calcTimes

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

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

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

Calculates water use indices (WUI) over a specified time interval to a data.frame
designFactors

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

tools:::Rd_package_title("growthPheno")
is.smooths.frame

Tests whether an object is of class smooths.frame
longitudinalPrime

Selects a set variables to be retained in a data frame of longitudinal data
importExcel

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

Calculates the growth rates for a specified time interval
intervalGRaverage

Calculates the growth rates for a specified time interval by taking weighted averages of growth rates for times within the interval
intervalPVA.data.frame

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

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

Calculates a single value that is a function of an individual's values for a response over a specified time interval
plotMedianDeviations

Calculates and plots the median of the deviations of the smoothed values from the observed values.
plotProfiles

Produces profile plots of longitudinal data for a set of individuals
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.
prepImageData

Prepares raw imaging data for further processing
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.
probeSmoothing

Compares, for a set of specified values of df and different smoothing methods, a response and the smooths of it, possibly along with growth rates calculated from the smooths
plotSmoothsDevnBoxplots

Produces boxplots for several sets of deviations of the smoothed values from a response, possibly along with growth rates.
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.
smooths.frame

Description of a smooths.frame object
splitSplines

Adds the fits, and optionally growth rates computed from derivatives, after fitting splines to a response for an individual stored in a data.frame in long format
splitContGRdiff

Adds, to a data.frame, the growth rates for individuals calculated continuously over time by differencing response values.
plotImagetimes

Plots the position of a time within an interval against the interval for each cart
tomato.dat

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

Calculates and plots correlation matrices for a set of responses
plotDeviationsBoxes

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

Calculates a single value that is a function of an individual's values for a response
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.
validSmoothsFrame

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

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

Produces profile plots of longitudinal data for a set of individuals
smoothSpline

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

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

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
GrowthRates

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

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

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