create_ideo | R Documentation |
Title Create customized ideogram ggplot object
create_ideo(genome = "hg38", chr, ideo.width, ideo.height, ydrift = 0, xdrift = 0, whratio = 16)
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. |
ideo class
ideo <- create_ideo(chr="chr4",ideo.width=400)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.