density_plot: density_plot

Description Usage Arguments Details Value Examples

View source: R/plots.R

Description

Density (line) plot of multiple samples

Usage

1
2
3
density_plot(plotting_data, main = "", xlab = "", log = FALSE,
  dataset_names = names(plotting_data), legend = TRUE,
  legend_cex = 1, col = NULL, legend_pos = "topright")

Arguments

plotting_data

list of numerical vectors

main

title

log

whether to log2 transform the data default: false

dataset_names

vector of names of the datasets in the plotting_data list, by default these are taken from the names of the components in the list

Details

Intended for use with GC content and gene length data

Value

produces a density plot.

Examples

1
density_plot(some_data)

laurabiggins/GOcategoryStats documentation built on Oct. 27, 2019, 11:36 a.m.