suggestExtension: Tries to locally add one link each and returns a list of...

Description Usage Arguments Author(s) See Also Examples

Description

Tries to locally add one link each and returns a list of links ordered by their chi-squared differences to the original model A new link found to be suitable by the modeller can then added by re-running the createModel function with the altered adjacency information. Note that valöues assigned to be exactly 1 inidicate almost always an non-identifiable link, whose combined value is assigned to another node in the combination!

Usage

1
2
3
suggestExtension(original_model, parallel = F, mc = 1,
  sample_range = c(10^(2:-1), 0, -10^(-1:2)), print = F,
  padjust_method = "bonferroni")

Arguments

original_model

MRAmodel or MRAmodelSet object describing the model and its best fit, containing the data

parallel

Boolean number indicating whether addition is executed in a parallel fashion

mc

Number of cores that should be used for the computation

sample_range

Numeric vector containing all starting values for the new link (DEFAULT: c(10^(2:-1),0,-10^(-1:2)))

print

Boolean indicating whether the result should be printed in a text file "Additional_link_suggestion.txt"

padjust_method

The method to use for the adjusted p-value, as defined in p.adjust. 'BY' by default which provides the FDR under general dependence assumption (conservative)

Author(s)

Bertram Klinger bertram.klinger@charite.de

See Also

selectMinimalModel, createModel

Examples

1
2
3
4
## Not run: 
ext_list = suggestExtension(mramodel)

## End(Not run)

MathurinD/STASNet documentation built on May 28, 2019, 1:50 p.m.