plotGCContent: Plots a density distribution of GC vectors Give results from...

View source: R/content-plots.R

plotGCContentR Documentation

Plots a density distribution of GC vectors Give results from the calcGCContent function, this will produce a density plot

Description

Plots a density distribution of GC vectors Give results from the calcGCContent function, this will produce a density plot

Usage

plotGCContent(gcvectors)

Arguments

gcvectors

A numeric vector or list of numeric vectors of GC contents.

Value

A ggplot object plotting distribution of GC content in query regions.

Examples

numVector = rnorm(400, mean=0.5, sd=0.1)
GCplot = plotGCContent(numVector)
vecs = list(example1 = rnorm(400, mean=0.5, sd=0.1), 
            example2 = rnorm(600, mean=0.5, sd=0.1))
GCplot = plotGCContent(vecs)


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