Description Usage Arguments Value See Also Examples
bpr_optim.matrix
minimizes the negative log likelihood of the BPR
function. Since it cannot be evaluated analytically, an optimization
procedure is used. The optim
packages is used for
performing optimization.
1 2 3 |
x |
An L x 3 matrix of observations, where 1st column contains the locations. The 2nd and 3rd columns contain the total trials and number of successes at the corresponding locations, repsectively. |
w |
A vector of parameters (i.e. coefficients of the basis functions) |
basis |
A 'basis' object. See |
fit_feature |
Additional feature on how well the profile fits the methylation data. |
cpg_dens_feat |
Additional feature for the CpG density across the promoter region. |
opt_method |
The optimization method to be used. See
|
opt_itnmax |
Optional argument giving the maximum number of iterations
for the corresponding method. See |
... |
Additional parameters |
A list containing the following elements:
w_opt
: Optimized values for the coefficient vector w.
The length of the result is the same as the length of the vector w.
basis
: The basis object.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.