add_mut_to_pheno: Add phenotypic effects of mutation(s) from 'pheno_mut_effect'...

Description Usage Arguments Value

View source: R/generate_selected_mutation.R

Description

Add phenotypic effects of mutation(s) from pheno_mut_effect to a given phenotype pheno_wt.

Usage

1
add_mut_to_pheno(pheno_mut_effect, pheno_wt)

Arguments

pheno_mut_effect

A matrix of real numbers. Each row correspond to the phenotypic effects of given mutation in each dimensions (columns).

pheno_wt

A vector of real numbers. Phenotypic coordinates of the wild-type. Its length must be equal to the number of columns of pheno_mut_effect.

Value

A matrix of the same dimensions as pheno_rand_mut_effect with each row equal to the sum of pheno_wt with a row of pheno_rand_mut_effect.


YoannAnciaux/inferenceFitnessLandscape documentation built on Oct. 31, 2019, 1:19 a.m.