HFLODPlotChr: Plot of the HFLOD

View source: R/HFLODPlotChr.r

HFLODPlotChrR Documentation

Plot of the HFLOD

Description

This fonction plot the HFLOD score for a chromosome

Usage

HFLODPlotChr(
  submaps,
  unit = "cM",
  chr,
  regions,
  color2 = "green4",
  MA = TRUE,
  nbSNP_MA = 50
)

Arguments

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)

Details

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

Value

This function returns a manhattan plot of all the HFLOD score over all the chromosome

See Also

setHFLOD

Examples

 
#Please refer to vignette 


genostats/FEstim documentation built on Feb. 3, 2023, 7:33 p.m.