plotAnnot | R Documentation |
Annotation plot for LocusExplorer.
plotAnnot(
data,
chrom = NULL,
xStart = NULL,
xEnd = NULL,
vline = NULL,
collapse = FALSE,
pad = TRUE
)
data |
dataframe with c(CHR, BP, TYPE1, TYPE2, COLOUR_HEX, TYPE2N) columns. |
chrom |
chromosome name, interger 1:23 |
xStart, xEnd |
Region range, zoom, minimum BP and maximum BP, advised to keep this less than 5Mb. |
vline |
Mark hits on genes |
collapse |
Collapse TYPE2 group into TYPE1 group |
pad |
Default is TRUE, to align plots pad strings with spaces, using oncofunco::strPadLeft(). |
a ggplot
object
Tokhir Dadaev
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.