ggmaf | R Documentation |
plot MAF
ggmaf(
data,
ref,
block_start = NULL,
block_end = NULL,
facet_field = NULL,
heights = c(0.4, 0.6),
facet_heights = NULL
)
data |
a tidy MAF data frame.You can get it by tidy_maf_df() |
ref |
character, the name of reference genome. eg:"hg38.chr1_KI270707v1_random" |
block_start |
a numeric vector(>0). The start block to plot. |
block_end |
a numeric vector(< max block). The end block to plot. |
facet_field |
a numeric vector. The field in a facet panel. |
heights |
two numeric vector.The plot proportion between "Genomic location" panel(upon) and "Alignment" panel(down). Default:c(0.4,0.6) |
facet_heights |
Numeric vectors.The facet proportion. |
ggplot object
Lang Zhou
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.