| GRgetValues {GRmetrics} | R Documentation |
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.
GRgetValues(fitData)
fitData |
a SummarizedExperiment object, generated by the GRfit function. |
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]]).
A table with GR values and relative cell counts
Nicholas Clark
To create the object needed for this function, see
GRfit.
# 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)