View source: R/visualization.R
plot_snp_circos | R Documentation |
Circos plot of SNP distribution across chromosomes
plot_snp_circos(genome_ranges, gene_ranges, marker_ranges)
genome_ranges |
A GRanges object with chromosome lengths. |
gene_ranges |
A GRanges object with genomic coordinates of all genes in the genome. |
marker_ranges |
Genomic positions of SNPs. For a single trait, a GRanges object. For multiple traits, a GRangesList or CompressedGRangesList object, with each element of the list representing SNP positions for a particular trait. |
A ggplot object with a circos plot of molecular marker distribution across chromosomes.
data(snp_pos)
data(gene_ranges)
data(chr_length)
p <- plot_snp_circos(chr_length, gene_ranges, snp_pos)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.