gene_manhattan_plot: Make gene Manhattan plot

View source: R/plots.R

gene_manhattan_plotR Documentation

Make gene Manhattan plot

Description

Make gene Manhattan plot

Usage

gene_manhattan_plot(
  gene.pip.res,
  chr = "chr",
  pos = "pos",
  gene_name = "gene_name",
  gene_pip = "gene_pip",
  gene.pip.thresh = 0.8,
  highlight = TRUE,
  ylim = 1.2,
  point.size = 2,
  label.size = point.size * 2,
  font.size = 15,
  max.overlaps = 20,
  title = ""
)

Arguments

gene.pip.res

Gene mapping result

chr

Name of the chr column in the gene mapping result

pos

Name of the pos column in the gene mapping result

gene_name

Name of the gene name column in the gene mapping result

gene_pip

Name of the gene PIP column in the gene gene mapping result

gene.pip.thresh

Gene PIP cutoff (default: 0.8)

highlight

Highlight genes with gene PIP > gene.pip.thresh

ylim

Truncate gene PIP to ylim value in the plot.

point.size

Size of the points.

label.size

Size of the labels.

font.size

Font size of the text.

max.overlaps

Exclude text labels that overlap too many things.

title

Title of the plot


kevinlkx/Mapgen documentation built on April 2, 2024, 5:48 a.m.