Skip to content

HerrmannM/Monash-ChoR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChoR, a R package for Chordalysis

ChoR is a R package for the Chordalysis algorithm, developed at Monash University, Melbourne, Australia

Changelog

2018-04-05

  • Updated java requirement en checking

2017-10-13

  • Updated rJava to 0.9-9

2017-10-06

2017-02-20

  • Original version

Notes

About rJava

The Chordalysis algorithm is coded in Java and use commonsMath. This package contains an R layer allowing to use the java code through rJava.

The rJava and commonsMath packages can be install in R with:

install.packages('rJava')
install.packages('commonsMath')

R may need to be reconfigure with Java support. In the shell (may require sudo):

R CMD javareconf

If you need more memory for Java, use the following R line before loading a package performing a JVM initialization.

options( java.parameters = "-Xmx4g" )

Installation of other useful software

install.packages('Rcpp')
install.packages('roxygen2')

Example

See the ChoR/inst/examples/script.R for some examples. The Rgraphviz package from bioconductor is needed to plot the obtained graphs.

source("https://bioconductor.org/biocLite.R")
biocLite("Rgraphviz")
library(Rgraphviz)

ARFF data

If you need to work with ARFF data, use the RWeka package:

library(RWeka)
myARFFdata = read.arff("/path/to/myfile.arff")

Submission to CRAN and documentation on package development