clusterPlot: Clustering of the samples

View source: R/clusterPlot.R

clusterPlotR Documentation

Clustering of the samples

Description

Clustering of the samples based on VST- or rlog-counts (if use of DESeq2) or cpm-counts (if use of edgeR)

Usage

clusterPlot(counts.trans, group, outfile = TRUE, ggplot_theme = theme_gray())

Arguments

counts.trans

a matrix a transformed counts (VST- or rlog-counts if use of DESeq2 or cpm-counts if use of edgeR)

group

factor vector of the condition from which each sample belongs

outfile

TRUE to export the figure in a png file

ggplot_theme

ggplot2 theme function (theme_gray() by default)

Value

A file named cluster.png in the figures directory with the dendrogram of the clustering

Author(s)

Marie-Agnes Dillies and Hugo Varet


PF2-pasteur-fr/SARTools documentation built on April 6, 2022, 2:24 a.m.