plot.phenotype: Plot a phenotype

Description Usage Arguments Value Examples

View source: R/assortative_mating_functions.R

Description

Plot a phenotype

Usage

1
2
## S3 method for class 'phenotype'
plot(phen)

Arguments

phen

the phenotype

Value

NULL, run for side effects

Examples

1
2
allele_freq <- runif(2000, 0.01, 0.2)
plot(generate_phenotype(eff=generate_effects(1:1000, allele_freq, 1), sample_initial_genotypes(3000, allele_freq)))

ijwilson/gencorram documentation built on Dec. 20, 2021, 6:55 p.m.