getDataQualityRange: Dataframe getter for 'qualityRange' function.

View source: R/helpers.R

getDataQualityRangeR Documentation

Dataframe getter for qualityRange function.

Description

This method is a wrapper to retrieve a specific SummarizedExperiment given a k value from the object returned by qualityRange function.

Usage

getDataQualityRange(data, k)

Arguments

data

The object returned by qualityRange function.

k

The desired k cluster.

Value

The SummarizedExperiment that contains information about the selected k cluster.

Examples

# Using example data from our package
data("ontMetrics")
qualityRangeData <- qualityRange(ontMetrics, k.range=c(3,5), getImages = FALSE)
# Getting dataframe that contains information about k=5
k5Data = getDataQualityRange(qualityRangeData, 5)


neobernad/evaluomeR documentation built on Nov. 12, 2024, 11:29 p.m.