densityPlot {ShotgunFunctionalizeR}R Documentation

Plotting the distribution of counts for a metagenome

Description

densityPlot plots the probability distribution of the counts for a metagenome.

Usage

densityPlot(data, sample=1, color.hist="red3", log.yaxis=TRUE, xlim, ylim,
remove.zeros=TRUE, ...)

Arguments

data a ShotgunFunctionalizeR data object.
sample a integer indicating which sample that should be plotted. Defaults to 1.
color.hist the color of the produced histogram
log.yaxis should be y-axis be on a logarithmic scale? Defaults to TRUE
xlim the x limits of the plot
ylim the y limits of the plot
remove.zeros should gene families with zero observation be removed?
... additional arguments for the plot function

See Also

readGeneFamilies, plot

Examples

data(OceanCOG)
densityPlot(OceanCOG, sample=1, xlim=c(0,20))

[Package ShotgunFunctionalizeR version 1.0-2 Index]