getModelCoef: Get the statistics from a fitted nlme dose reponse model.

View source: R/nlme_fit_stats.R

getModelCoefR Documentation

Get the statistics from a fitted nlme dose reponse model.

Description

Get the statistics from a fitted nlme dose reponse model.

Usage

getModelCoef(nlme_model, nlme_data)

Arguments

nlme_model

the results of fitModelNlmeData.

nlme_data

the input data frame to the model fit.

Value

a data frame of fitted nlme model statistics - xmid (IC50) and scal (slope).

See Also

fitModelNlmeData, calcNlmeStats.

Examples

data("gdsc_example")
gdsc_example <- removeFailedDrugs(gdsc_example)
gdsc_example <- removeMissingDrugs(gdsc_example)
gdsc_example <- normalizeData(gdsc_example)
gdsc_example <- setConcsForNlme(gdsc_example)
nlme_data <- prepNlmeData(gdsc_example, "COSMIC_ID")
## Not run: 
nlme_model <- fitModelNlmeData(nlme_data, isLargeData = F)
nlme_stats <- calcNlmeStats(nlme_model, nlme_data)

## End(Not run)


CancerRxGene/gdscIC50 documentation built on Oct. 6, 2022, 2:40 a.m.