| hmht.control | R Documentation |
Helper function defining highlighted markers or genomic regions to be
emphasised in mhtplot().
hmht.control(
data = NULL,
colors = "red",
yoffset = 0.25,
cex = 1.2,
boxed = FALSE
)
data |
Data frame with four columns: chromosome, position, value and label (e.g. gene name). |
colors |
Character vector of colours used for highlighted regions. Colours are recycled if multiple labels are present. |
yoffset |
Numeric vertical offset added to the highest highlighted point before placing the label. |
cex |
Numeric scaling factor for label text. |
boxed |
Logical. If |
A list of highlight control parameters for mhtplot().
mhtplot(), mht.control()
## Example highlight specification
hdata <- data.frame(
chr = c(1,3,5),
pos = c(10000,50000,90000),
p = c(1e-8,1e-7,1e-9),
gene = c("GENE1","GENE2","GENE3")
)
hmht.control(data = hdata, cex=0.8, colors = "red", boxed = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.