dot-makeDendro: Make the dendrogram for heatmap-style plots

.makeDendroR Documentation

Make the dendrogram for heatmap-style plots

Description

Set the clusters for heatmap-style interactive plots

Usage

.makeDendro(df, rowVal, colVal, value)

Arguments

df

The data frame to be clustered

rowVal

The rows to be clustered

colVal

The value which will become column names

value

The value to use for the clustering

Value

A dendrogram

Examples

# Get the files included with the package
packageDir <- system.file("extdata", package = "ngsReports")
fileList <- list.files(packageDir, pattern = "fastqc.zip", full.names = TRUE)
cols <- c("Filename", "Position", "Illumina_Universal_Adapter")
ac <- getModule(fileList, "Adapter_Content")[cols]
ngsReports:::.makeDendro(df = ac,
                            rowVal = "Filename",
                            colVal = "Position",
                            value = "Illumina_Universal_Adapter")


steveped/ngsReports documentation built on July 24, 2024, 10:45 a.m.