plotChromBins {GenomicDistributions}R Documentation

Plot distribution over chromosomes

Description

Plots result from genomicDistribution calculation

Usage

plotChromBins(
  genomeAggregate,
  binCount = 10000,
  plotTitle = "Distribution over chromosomes"
)

Arguments

genomeAggregate

The output from the genomicDistribution function

binCount

Number of bins (should match the call to genomicDistribution)

plotTitle

Title for plot.

Value

A ggplot object showing the distribution of the query regions over bins of the reference genome.

Examples

agg = data.frame("regionID"=1:5, "chr"=rep(c("chr1"), 5), 
                "withinGroupID"=1:5, "N"=c(1,3,5,7,9))  
ChromBins = plotChromBins(agg)


[Package GenomicDistributions version 1.0.0 Index]