plotIdeo: plot ideogram

Description Usage Arguments Examples

View source: R/plotIdeo.R

Description

plot ideogram for one chromosome

Usage

1
2
3
4
5
6
7
plotIdeo(
  ideo,
  chrom = seqlevels(ideo)[1],
  colorSheme = gieStain(),
  gp = gpar(fill = NA),
  ...
)

Arguments

ideo

output of loadIdeogram.

chrom

A length 1 character vector of chromosome name.

colorSheme

A character vector of giemsa stain colors.

gp

parameters used for grid.roundrect.

...

parameters not used.

Examples

1
2
3
4
5
6
7
## Not run: 
ideo <- loadIdeogram("hg38")
library(grid)
grid.newpage()
plotIdeo(ideo)

## End(Not run)

trackViewer documentation built on Feb. 11, 2021, 2 a.m.