Learn R Programming

SARTools (version 1.6.2)

densityPlot: Density plot of all samples

Description

Estimation the counts density for each sample

Usage

densityPlot(counts, group, col = c("lightblue", "orange", "MediumVioletRed",
  "SpringGreen"), outfile = TRUE)

Arguments

counts

matrix of counts

group

factor vector of the condition from which each sample belongs

col

colors of the curves (one per biological condition)

outfile

TRUE to export the figure in a png file

Value

A file named densplot.png in the figures directory