clin2mim: Output a script file to WinMIM, linking clinical data and...

Description Usage Arguments Value Note Author(s) References

View source: R/clin2mim.r

Description

Given a clinical variable, it produces a script file for WinMIM by calculating means and covariances and for the N most highly correlated probes (in absolute value). Here N is an input parameter, but a recommended value 10. WinMIM can find a relevant graphical model for the dependencies between the probes and the clinical variable.

Usage

1
clin2mim(variable="FEV1.ACTUAL",data=dbs,clindat=clinical,probes=probes,N=10,out="mimscr.txt")

Arguments

variable

Clinical variable to be examined

data

The input data set, with subject id in first column.

clindat

The input clinical data, with subject id in first column

probes

The name of the probes in the order of data

N

The number of highly correlated probes to be studied

out

The MIM script file

Value

The correlation matrix

Note

David Edwards' program WinMIM can be found on StatLib (http://lib.stat.cmu.edu/graphmod/). In MIM issue input mimscript.txt and the calculations to find a model will start. When finished go to the Graphics menu and click on Independence Graph. The resulting graph can be exported both to WMF and LaTeX.

Author(s)

Per Broberg

References

Edwards, David (1995) Introduction to Graphical Modelling. Springer-Verlag
Lautitzen, Steffen (1996) Graphical Models. Oxford University Press
Whittaker, Joe (1990) Graphical Models in Multivariate Analysis. Wiley


SAGx documentation built on Nov. 8, 2020, 8:18 p.m.