HFLODPlotChr | R Documentation |
This fonction plot the HFLOD score for a chromosome
HFLODPlotChr( submaps, unit = "cM", chr, regions, color2 = "green4", MA = TRUE, nbSNP_MA = 50 )
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 HFLOD score |
regions |
a matrix containing the value to ve highlighted in the plot |
color2 |
the color of the regions highlighted (default is "green4") |
MA |
a boolean indicating whether a red line has to be drawn for the moving average |
nbSNP_MA |
number of SNP for the moving average (default is 50) |
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 manhattan plot of all the HFLOD score over all the chromosome
setHFLOD
#Please refer to vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.