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

Description Usage Arguments Value Examples

Description

Set the clusters for heatmap-style interactive plots

Usage

1
.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

1
2
3
4
5
6
7
8
9
# 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")

ngsReports documentation built on Nov. 23, 2020, 2:01 a.m.