Learn R Programming

SNPchip (version 2.18.0)

getCytoband: getCytoband

Description

This function generates a data.frame with the respective cytoband names, chromosomes, Giemsa stain, and the start and end positions. These tables can then be used to plot chromosome idiograms. Currently, cytoband annotation for UCSC genome builds hg18 and hg19 are supported.

Usage

getCytoband(build)

Arguments

build
A character string indicating UCSC build ("hg18" or "hg19").

Value

  • data.frame

See Also

plotIdiogram

Examples

Run this code
cytoband <- getCytoband("hg19")
cytoband <- cytoband[cytoband$chr == "chr1", ]
plotIdiogram(1, "hg18", cytoband=cytoband, cex.axis=0.6)

Run the code above in your browser using DataLab