View source: R/plotROHSegmentsChr.r
plotROHSegmentsChr | R Documentation |
This function is used to plot HBDsegments for a chromosome using an ROH file
plotROHSegmentsChr( ROH, submaps, unit = "cM", chr, outfile, listid, regions, build )
ROH |
a data frame |
submaps |
a atlas object |
unit |
the unit used to plot, two options are allowed "Bases", "cM" (default is "CM") |
chr |
the chromosome number from which to plot ROH |
outfile |
the name of the plot |
listid |
a vector containing the family id follow by the individual id |
regions |
a matrix containing the value to ve highlighted in the plot |
build |
the value of the build to use to plot chromosome in the plot value accepted are 35, 36, 37, 38 (default is 37) |
Use this function when you want to use an ROH file to plot your HBDsegments for a specific chromosome.
Two unit are accepted : "Bases" or "cM".
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
This function returns a plot of the HBDsegments for a specific chromosome
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.