GRgetMetrics {GRmetrics} | R Documentation

## GR metrics

### Description

Given a SummarizedExperiment object created by `GRfit`, this function returns a table of GR metrics (as well as traditional metrics) for each experiment in the dataset.

### Usage

    GRgetMetrics(fitData)

### Arguments

`fitData` | a SummarizedExperiment object, generated by the GRfit function.

### Details

Given a SummarizedExperiment object created by `GRfit`, this function returns a table of GR metrics and traditional metrics along with goodness of fit measures. It also identifies each fit as flat or sigmoidal. This is simply a convenient accessor function, equivalent to `cbind(as.data.frame(colData(fitData)), as.data.frame(t(assay(fitData))))`.

### Value

A table with GR metrics and goodness of fit measures

### Author(s)

Nicholas Clark

### See Also

To create the object needed for this function, see `GRfit`.

### Examples

    # Load Case A (example 1) input
    data("inputCaseA")
    head(inputCaseA)
    # Run GRfit function with case = "A"
    output1 = GRfit(inputData = inputCaseA,
    groupingVariables = c('cell_line','agent'))
    metrics = GRgetMetrics(output1)
    ## Not run: View(metrics)
    head(metrics)

[Package GRmetrics version 1.13.2 Index]