plotSNPtype | R Documentation |
SNP type plot for LocusExplorer.
plotSNPtype(
assoc = NULL,
xStart = NULL,
xEnd = NULL,
pad = TRUE,
title = NULL,
typedColName = "TYPED",
typedValue = 2,
colTyped = "#003333",
colImputed = "#669999"
)
assoc |
SNP association results, data.frame object with c("SNP","BP","P") columns. Required. |
xStart, xEnd |
Region range, zoom, minimum BP and maximum BP, advised to keep this less than 5Mb. |
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. |
typedColName |
Column name in assoc data.frame to indicate typed/imputed SNPs, default "TYPED". |
typedValue |
Value for typed SNPs, default is 2. |
colTyped |
Colour for typed SNPs, default "#003333". |
colImputed |
Colour for imputed SNPs, default "#669999". |
a ggplot
object
Tokhir Dadaev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.