Description Usage Arguments Value Author(s) Examples
ideogram with overlaid heatmap annotation and optional track label
1 2 3 4 |
karyotype |
karyotype data |
overlaid |
overlaid data |
label |
track label data |
label_type |
track label type, only support four types: marker, heatmap, line and polygon |
synteny |
synteny data |
colorset1 |
overlaid heatmap color |
colorset2 |
label heatmap color |
width |
width of plot region |
Lx |
position of legend (x) |
Ly |
position of legend (y) |
output |
output file, only svg is supported |
output file
Zhaodong Hao, Dekang Lv, Ying Ge, Jisen Shi, Dolf Weijers, Guangchuang Yu, Jinhui Chen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Loading the package
require(RIdeogram)
# Loading the testing data
data(human_karyotype, package="RIdeogram")
data(gene_density, package="RIdeogram")
data(Random_RNAs_500, package="RIdeogram")
# Checking the data format
head(human_karyotype)
head(gene_density)
head(Random_RNAs_500)
# Running the function (Remove "#" before you run the following codes)
# ideogram(karyotype = human_karyotype)
# convertSVG("chromosome.svg", device = "png")
# Then, you will find a SVG file and a PNG file in your Working Directory.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.