R/profile-likelihood.R
profile.RdEstimate profile likelihood for gene parameters (all other fixed)
profileGene(parName, geneIndex, pd, par, interval, options, ...) profile(paramPath, pd, par, options, interval, namesToOptimise = names(par), ...)
| parName | a character; the names of the gene-specific parameter (e.g. "mu") |
|---|---|
| geneIndex | integer(1); the row index in the count table where the data for the given gene are located |
| pd | the PulseData object |
| par | result output from the fitModel function |
| interval | a vector of two numbers defining the interval of parameter profiling |
| options | the options list used for the fitModel function call |
| ... | other parameters to pass to runPL,
i.e. |
| paramPath | a list with names and indexes in order to locate the
parameter in the |
| namesToOptimise | a character vector including the free parameters (i.e. they wil be treated as unfixed) |
a data.frame; the column logl corresponds to the -log(likelihood)
function values. the other represents the profiled parameter values.