plotMetricsClusterComparison: Comparison between two clusterings as plot....

Description Usage Arguments Value Examples

View source: R/metricsAnalysis.R

Description

It plots a clustering comparison between two different k-cluster vectors for a set of metrics.

Usage

1
plotMetricsClusterComparison(data, k.vector1, k.vector2, seed = NULL)

Arguments

data

A SummarizedExperiment. The SummarizedExperiment must contain an assay with the following structure: A valid header with names. The first column of the header is the ID or name of the instance of the dataset (e.g., ontology, pathway, etc.) on which the metrics are measured. The other columns of the header contains the names of the metrics. The rows contains the measurements of the metrics for each instance in the dataset.

k.vector1

Vector of positive integers representing k clusters. The k values must be contained in [2,15] range.

k.vector2

Vector of positive integers representing k clusters. The k values must be contained in [2,15] range.

seed

Positive integer. A seed for internal bootstrap.

Value

Nothing.

Examples

1
2
3
4
5
# Using example data from our package
data("rnaMetrics")
stabilityData <- stabilityRange(data=rnaMetrics, k.range=c(2,4), bs=20, getImages = FALSE)
qualityData <- qualityRange(data=rnaMetrics, k.range=c(2,4), getImages = FALSE)
kOptTable = getOptimalKValue(stabilityData, qualityData)

evaluomeR documentation built on March 15, 2021, 6 p.m.