run1model | R Documentation |
This function creates a model, simulates it and outputs its score, given a data set
run1model(pknList=pknList, targetsOn=targets.P,dataOn=data.P,FlipP=rep(0.5, length(intermediates(pknList))),AndBinF=rep(0, length(integrators(pknList))),NoneBinF=rep(0, length(integrators(pknList))),dataGMM=dataGMM,optParam)
pknList |
a |
optParam |
|
targetsOn |
a list of string vectors containing the UPIDs of kinases hit by each set of drugs |
dataOn |
a |
FlipP |
a numeric vector, the probability of AND for each intermediate |
AndBinF |
a numeric vector, either an integer giving the number of bins for the AND gate of each integrator (if |
NoneBinF |
a numeric vector (of the same length as the number of integrator nodes), the number of bins for the no-gate option, for each integrator node |
dataGMM |
a GMMres object |
a list with elements: model (the model, as created by createModel
, score
(the score of the model), scoresList
(a list of scores in the same format as dataOn
but with a single numeric value in each element, which is the score produced by the data under that drug), intAnd/intgAnd
(a logical vector for each intermediate/integrator: AND or OR gated). AndBinF
and NoneBinF
are NA if intgAsintm
is TRUE (deprecated).
C. Terfve
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.