sumDistSample: Plot the sum of distances to other samples

View source: R/tab_values.R

sumDistSampleR Documentation

Plot the sum of distances to other samples

Description

The function sumDistSample creates a plot showing the sum of distance of a sample to other samples.

Usage

sumDistSample(d, title = "raw")

Arguments

d

matrix containing distances, obtained from distShiny

title

character specifying the title to be added to the plot

Value

gg object from ggplot2

Examples

a <- matrix(seq_len(100), nrow = 10, ncol = 10, 
            dimnames = list(seq_len(10), paste("sample", seq_len(10))))
dist <- distShiny(a)

sumDistSample(dist, title = "raw")


tnaake/MatrixQCvis documentation built on June 20, 2024, 7:22 a.m.