GRgetValues {GRmetrics} | R Documentation

## GR values

### Description

Given a SummarizedExperiment object created by `GRfit`, this function returns a table of the original data (in the form of "Case A") with columns for GR values and relative cell counts.

### Usage

    GRgetValues(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 the original data (in the form of "Case A") with columns for GR values and relative cell counts. This is simply a convenient accessor function, equivalent to `as.data.frame(metadata(fitData)[[1]])`.

### Value

A table with GR values and relative cell counts

### 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'))
    GRvalues = GRgetValues(output1)
    head(GRvalues)
    ## Not run: View(GRvalues)

[Package GRmetrics version 1.16.0 Index]