View source: R/HFLODManhattanPlot.r
HFLODManhattanPlot | R Documentation |
This fonction to plot a manhanttan plot of the HFLOD score
HFLODManhattanPlot(submaps, regions, unit = "cM", MA = TRUE, nbSNP_MA = 50)
submaps |
a atlas object |
regions |
a matrix containing the value to be highlighted in the plot |
unit |
the unit used to plot, two options are allowed "Bases", "cM" (default is "CM") |
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.