Skip to content

Output genotype and phenotype

Hao Cheng edited this page Aug 3, 2017 · 5 revisions

Output genotype and phenotype

get genotype or phenotype
#genotype
M = getOurGenotypes(animals)

#phenotype
P = getOurPhenVals(animals,1.0) #residual variance is 1.0
output genotype,phenotype... into a text file
#output haplotype
outputHapData(animals, "output.txt")

#output genotype
outputGenData(animals, "output.txt")

#output genotype,phenotype,pedigree
outputPedigree(animals, "output.txt")

#output SNPs information
outputCatData("output.txt")