degraderate.variogram: Calculate the variogram for degrade.rate for a given...

Description Usage Arguments Details Value Examples

View source: R/EndpointSummaryStats.R

Description

This function adapts Pheno-Evo data and then uses [gstat::variogram()] from the gstat package to calculate spatial correlation in the phenotypic degrade rate values of the cells. It returns a dataframe. For a variogram plot, call plot() on the dataframe - see examples.

Usage

1
degraderate.variogram(ends.df, run.num)

Arguments

ends.df

Dataframe of endpoint data, generated by extract.endpoint(). Must contain an xydr column.

run.num

Run number to be analyzed.

Details

Dataframes from timepoints other than the endpoint are also fine, as long as there is only 1 row per run number.

Value

An object of class gstatVariogram. See [gstat::variogram()] for documentation

Examples

1
2
3

jessicaaudreylee/PhenoEvoR documentation built on Sept. 7, 2020, 3:50 a.m.