# NOT RUN {
pedigree <- eightParentPedigreeImproperFunnels(initialPopulationSize = 10,
selfingGenerations = 0, nSeeds = 1)
#Generate map
map <- qtl::sim.map()
#Simulate data
cross <- simulateMPCross(map = map, pedigree = pedigree, mapFunction = haldane)
#Get out a list of funnels, which are rows of this matrix. Note that, of the values 1:8,
# some are missing within a row, and some are repeated.
getAllFunnels(cross)
#convert the pedigree to a graph
pedigreeAsGraph <- pedigreeToGraph(pedigree)
#Plot it
# }
# NOT RUN {
plot(pedigreeAsGraph)
# }
# NOT RUN {
#Write it to a file in DOT format
# }
Run the code above in your browser using DataLab