Output genotype and phenotype - reworkhow/XSim.jl GitHub Wiki

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")