create_ideo: Title Create customized ideogram ggplot object

View source: R/creat_ideo.R

create_ideoR Documentation

Title Create customized ideogram ggplot object

Description

Title Create customized ideogram ggplot object

Usage

create_ideo(genome = "hg38", chr, ideo.width, ideo.height, ydrift = 0,
  xdrift = 0, whratio = 16)

Arguments

genome

String. Genome version eg."hg38","mm10","mm20". default("hg38")

chr

String. chromosome name eg."chr4".

ideo.width

Numeric. Width of the ideogram ggplot object.

ideo.height

Numeric. Height of the ideogram, if missing, then height would be calculated by ideo.width/whratio.

ydrift

Numeric. x axis dirft from 0.

xdrift

Numeric. y axis dirft from 0.

whratio

Numeric, the width/height ratio of the ideogram.

Value

ideo class

Examples

ideo <- create_ideo(chr="chr4",ideo.width=400)


Irenexzwen/gginteract documentation built on Feb. 27, 2023, 3:51 p.m.