Description Usage Arguments Value
Function for calculating roughness by sampling across a fitness landscape based on sequence data. Function initially calculates string distances between sequences and and condenses the resultant distance matrix to the number of dimensions requested a linear fit between the fitness value and the dimensions is then calculated and the average slope for this fit is c alculated.The final step is to calculate the sum of the residuals to the fit squared divided by the mean slope to give the roughness/slope. This calculation is repeated several times with bootstrap sampling on the full set and the mean and standard error of the roughness/slope values is calculated.
1 | LaRC(data_set, dims = 2, nsize = 16, runs = 100, meth = "lcs")
|
data_set |
tibble containing paired sequences and fitness values |
dims |
number of dimensions requested for landscape |
nsize |
number of data points extracted in each sampling |
runs |
number of times sampling is performed |
meth |
string distance calculation method |
Returns a list object containing the mean and standard error of the roughness/slope values obtained from sampling.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.