.makeDendro {ngsReports} | R Documentation |
Set the clusters for heatmap-style interactive plots
.makeDendro(df, rowVal, colVal, value)
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 |
A dendrogram
# 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")