Plot a barplot of SNP distribution across chromosomes
Source:R/visualization.R
plot_snp_distribution.Rd
Plot a barplot of SNP distribution across chromosomes
Arguments
- 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. List elements must have names for proper labelling.
Examples
data(snp_pos)
p <- plot_snp_distribution(snp_pos)