get_values | R Documentation |
The function calculates the phenotypic values based on th supplied input genotype object and QTN effects.
get_values(geno,qtn_effect,dominant)
geno |
Required: genotype object |
qtn_effect |
Required: qtn_effect object |
dominant |
Optional: a logical object for dominance, default is FALSE |
the phenotypic values
gff = "crossword_processing/peanut.gff"
chr_stat = "crossword_processing/chr_siz.txt"
chr_length = "crossword_processing/chr_len.txt"
gen2phy = physical2genomic(gff,chr_stat,chr_length,200000)
homo = TRUE
input_pheno = "crossword_processing/pheno.txt"
parental_genotypes = get_parental_genotypes(input,gen2phy,homo)
biased_selection = TRUE
min_qtn_freq = 0
dominant=FALSE
effect_distribution = "equall"
pop3 = create_families(pop=pop2,S=15,id="pop3",chr_length=chr_length)
ids = pop3[[1]][pop3[[1]]$gen==pop3[[1]][nrow(pop3[[1]]),2],1]
geno = select_haplotype(pop3,ids)
qtn_effect = get_values(qtn = 5,gen2phy=gen2phy,biased_selection=biased_selection,parental_genotypes=parental_genotypes,min_qtn_freq=min_qtn_freq,dominant=min_qtn_freq,effect_distribution=effect_distribution)
values = get_values(geno,qtn_effect,dominant)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.