Human Chromosome Karyotype Gene Plot using BioConductor
A Karyotype Gene Plot (or ideogram plot) is a visual representation of an entire genome, mapping the locations of specific genes, mutations, or data points directly onto the chromosomes. It allows you to see broad chromosomal abnormalities, gene distributions, or variations in a single, genome-wide view. This example demonstrates how to locate specific genes within a genome and visualize them in a plot. Using the biomaRt Bioconductor package, we will automatically retrieve these gene coordinates from the Ensembl BioMart database. The resulting data frame will then be converted into a GRanges object using regioneR's toGRanges function. Because our target genome uses UCSC conventions, we will use seqlevelsStyle to adjust the chromosome naming format from Ensembl to UCSC. The example is based on the GRCh38 assembly (Homo sapiens (human) genome assembly (hg38) - Human Build 38 Organism), which aligns with the current version of BioMart. Program Implementation In this tutorial, I...