ggmaf: ggmaf

View source: R/ggmaf.R

ggmafR Documentation

ggmaf

Description

plot MAF

Usage

ggmaf(
  data,
  ref,
  block_start = NULL,
  block_end = NULL,
  facet_field = NULL,
  heights = c(0.4, 0.6),
  facet_heights = NULL
)

Arguments

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.

Value

ggplot object

Author(s)

Lang Zhou


YuLab-SMU/ggmsa documentation built on Dec. 18, 2024, 11:53 p.m.