View source: R/getCytobandColors.R
getCytobandColors | R Documentation |
Returns a named character vector with the colors of associated with the cytoband names
getCytobandColors(color.table=NULL, color.schema=c("circos", "biovizbase", "only.centromeres"))
color.table |
(named character vector) if present, it's returned as-is. Useful to specify your own color.tables. |
color.schema |
(character) The name of the color schema to use: |
The function returns a named character vector with the colors of associated with the cytoband names. Two color schemas are available: circos (which copies the colors used by Circos) and biovizbase (that gets the cytoband colors from the biovizBase Bioconductor package). If a color.table is given, it is returned untouched.
a named character vector with the colors associated to each cytoband name
plotKaryotype
, kpAddCytobands
getCytobandColors()
getCytobandColors(color.schema="biovizbase")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.