ISOpureS2.model_optimize.opt_theta: Optimize theta in step 2

Description Usage Arguments Value Author(s)

View source: R/ISOpureS2.model_optimize.opt_theta.R

Description

This function optimizes theta, in fact theta_weights. Since thetas are constrained (must be parameters of multinomial/discrete distribution), we don't directly optimize the likelihood function w.r.t. theta, but we perform change of variables to do unconstrained optimization. We therefore store these unconstrained variables in the field "theta_weights", and update these variables.

Usage

1
2
3
4
5
6
7
ISOpureS2.model_optimize.opt_theta(
	tumordata, 
	model, 
	NUM_ITERATIONS_RMINIMIZE, 
	iter, 
	NUM_GRID_SEARCH_ITERATIONS
	) 

Arguments

tumordata

a GxD matrix representing gene expression profiles of tumour samples

model

list containing all the parameters to be optimized

NUM_ITERATIONS_RMINIMIZE

minimum number of iteration that the minimization algorithm runs

iter

the iteration number

NUM_GRID_SEARCH_ITERATIONS

number of times to try restarting with different initial values

Value

The model with the theta parameter updated (the first K-1 columns) corresponding to the normal sample contributions

Author(s)

Gerald Quon, Catalina Anghel, Francis Nguyen


ISOpureR documentation built on Jan. 11, 2018, 1:11 a.m.