View source: R/draw_haplotypes.R
draw_haplotypes | R Documentation |
The function creates plots of all individuals in the input haplotype, which show the parental contributions for every chromosome.
draw_haplotypes(haplotypes,output_folder,parental_genotypes,heterozygous,by_chromosomes,im_type)
haplotypes |
Required: a haplotype object input. |
output_folder |
Required: an output folder to be created and store the images. |
parental_genotypes |
Required: the parental genotyping object |
heterozygous |
Optional: a logical argument to provide if the crop is heterozygous, default: TRUE |
by_chromosomes |
Optional: a logical argument to provide if the haplotypes will be sorted in the graphs by chromosomes, default: TRUE |
im_type |
Optional: the type of images |
founders = read.table("parents.txt")[,1]
draw_haplotypes(haplotypes,'output_haplo',parental_genotypes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.