plotChromBins: Plot distribution over chromosomes

plotChromBinsR Documentation

Plot distribution over chromosomes

Description

Plots result from genomicDistribution calculation

Usage

plotChromBins(
  genomeAggregate,
  plotTitle = "Distribution over chromosomes",
  ylim = "max"
)

Arguments

genomeAggregate

The output from the genomicDistribution function

plotTitle

Title for plot.

ylim

Limit of y-axes. Default "max" sets limit to N of biggest bin.

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)


databio/GenomicDistributions documentation built on April 30, 2024, 4:34 a.m.