HBDPlotChr | R Documentation |
This function plots the HBDsegments for a given chromosome and all the individuals
HBDPlotChr( Submaps, ROH, unit = "cM", chr, list.ids, regions, outfile, inbred = FALSE, build = 37 )
Submaps |
a list.submap object |
ROH |
a data frame from which the segments will be plotted (optional) |
unit |
the unit used to plot, two options are allowed "Bases", "cM" (default is "CM") |
chr |
the chromosome number from which to plot HBD segment |
list.ids |
a vector containing a list of individuals from which only the HBDsegments for this chromosome will be ploted (optional) |
regions |
a specific region to be enlighted in the plot (optional) |
outfile |
a name for the plot (optional) |
inbred |
whether you want to plot only inbred individuals or not (default is FALSE) |
build |
the value of the build to use to plot chromosome in the plot value accepted are 35, 36, 37, 38 (default is 37) |
If you use the regions options make sure to pass a matrix containing one line per region to be highlighted with in each line :
-the chromosome number
-start
-end
return a plot of the chromosome HBDsegments for all the individual
Fantasio
setHFLOD
#Please refer to vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.