plotLD | R Documentation |
LD plot for LocusExplorer.
plotLD(
data = NULL,
xStart = NULL,
xEnd = NULL,
hits = NULL,
hitsName = hits,
hitsColour = NULL,
hitsLabel = TRUE,
pad = TRUE,
title = NULL
)
data |
plink LD output format, data.frame object with c("BP_A","SNP_A","BP_B","SNP_B","R2") columns. |
xStart, xEnd |
Region range, zoom, minimum BP and maximum BP, advised to keep this less than 5Mb. |
hits |
SNP names to label in the plot. |
hitsName |
alternative SNP names to label in the plot. Default same as 'hits' |
hitsColour |
Default NULL, uses ggplot colours. |
pad |
Default is TRUE, to align plots pad strings with spaces, using oncofunco::strPadLeft(). |
title |
character string for plot title. Default is NULL, i.e.: no plot title. |
a ggplot
object
Tokhir Dadaev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.