plot_snp_distribution: Plot a barplot of SNP distribution across chromosomes

View source: R/visualization.R

plot_snp_distributionR Documentation

Plot a barplot of SNP distribution across chromosomes

Description

Plot a barplot of SNP distribution across chromosomes

Usage

plot_snp_distribution(marker_ranges)

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.

Value

A ggplot object.

Examples

data(snp_pos)
p <- plot_snp_distribution(snp_pos)

almeidasilvaf/cageminer documentation built on Sept. 9, 2023, 5:18 p.m.