Sets up a local cache of ideogram data for a genome.
setup_ideograms( data = NULL, genome = NULL, colourmap = default_ideogram_colours() )
| data | One of the following:
|
|---|---|
| genome | A |
| colourmap | A named |
Returns no value, but caches the ideograms under the genome
identifier in a temporary cache.
If the data argument is missing but the genome
argument is either "hg19", "hg38", "mm9" or
"mm10", BiocFileCache is used to cache the cytoBand.txt
file from UCSC.
data = data.frame,genome = ANY: Uses data.frame to generate ideograms
data = character,genome = ANY: Uses character as file path.
data = missing_OR_NULL,genome = character: Attempts to lookup genome in UCSC tables and
caches this.
This is to be used in conjunction with ideogram axes:
guide_ideogram_axis()
setup_ideograms(genome = "hg38")#>