Description Usage Arguments Details Value See Also Examples
Initialize the MATLAB server on the local computer, add the path as MATLAB workspace, and create PFA source file for MATLAB on the path.
1 |
path |
A string, which means the work dictionary of MATLAB server. Default is the current R working directory getting from getwd(). |
You must have installed MATLAB on your computer.
If open MATLAB server successfully, return the access of MATLAB, the variable will be used as the parameter of runPFA.When you have done all of your work, you must close the access by close(matlab)
.
1 2 3 4 5 6 7 8 9 | matlab=PFAinit(path=getwd())
#now, we can run PFA on MATLAB server
#TODO
#for example:
res=runPFA(data=list(COAD_Methy, COAD_miRNA, COAD_mRNA),maxk=10,matlab=matlab)
#after working on MATLAB, we should close the MATLAB server.
close(matlab)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.