LDheatmap.addGrob

0th

Percentile

Add a graphical object to an LDheatmap plot

Add a graphical object to an LDheatmap plot such that the x-axis corresponds to the physical map on the heatmap.

Keywords
hplot
Usage
LDheatmap.addGrob(LDheatmap, grob, height = 0.2)
Arguments
LDheatmap

An object of class LDheatmap.

grob

A graphical object of classgrob.

height

The height of the viewport in which the grob will be placed.

Value

An object of class LDheatmap given as an argument, with the grob LDheatmapGrob modified to inclue the new child grob.

See Also

LDheatmap

Aliases
  • LDheatmap.addGrob
Examples
# NOT RUN {
# Add an empty rectangle frame
data(GIMAP5.CEU) 
ll<-LDheatmap(GIMAP5.CEU$snp.data,GIMAP5.CEU$snp.support$Position,flip=TRUE)
llplusgrob<-LDheatmap.addGrob(ll, grid::rectGrob())
# }
Documentation reproduced from package LDheatmap, version 0.99-7, License: GPL-3

Community examples

Looks like there are no examples yet.