View source: R/plotROHSegmentsId.r
plotROHSegmentsId | R Documentation |
This function plots HBDsegments for a specific individual using an ROH file
plotROHSegmentsId( Submaps, ROH, unit = "cM", regions, outfile, famid, id, build )
Submaps |
a atlas object |
ROH |
a data frame |
unit |
the unit used to plot, two options are allowed "Bases", "cM" (default is "CM") |
regions |
a matrix containing the value to ve highlighted in the plot |
outfile |
the name of the plot |
famid |
the family id of the individual wanted |
id |
the individual id of the individual wanted |
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 individual.
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 individual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.