The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Linkspotter is a package of the R software that mainly allows to calculate and visualize using a graph all the bivariate links of a dataset.
Its main features are:
It also offers a customizable user interface, allowing to:
Available link coefficients are:
{r, echo=TRUE, eval=FALSE} install.packages("linkspotter")
current development version from GitHub:
{r, echo=TRUE, eval=FALSE} library(devtools) install_github("sambaala/linkspotter")
Load the package:
{r, echo=TRUE} library(linkspotter)
Have a look at the documentation:
{r, echo=TRUE, eval=FALSE} help(package="linkspotter")
The examples are carried out using ‘iris’ data.
{r, echo=TRUE} maxNMI(iris$Sepal.Length,iris$Petal.Length)
{r, echo=TRUE} corCouples<-multiBivariateCorrelation(iris) print(corCouples)
The Pearson correlation matrix:
{r, echo=TRUE} corMatrixPearson<-corCouplesToMatrix(x1_x2_val = corCouples[,c('X1','X2',"pearson")]) print(corMatrixPearson)
The MaxNMI matrix:
{r, echo=TRUE} corMatrixMaxNMI<-corCouplesToMatrix(x1_x2_val = corCouples[,c('X1','X2',"MaxNMI")]) print(corMatrixMaxNMI)
{r, echo=TRUE} cl<-clusterVariables(corMatrix = corMatrixMaxNMI) print(cl)
{r, echo=TRUE} linkspotterGraph(corDF = corCouples, variablesClustering = cl, corMethod = "pearson", minCor = 0.25, smoothEdges = FALSE, dynamicNodes = FALSE)
{r, echo=TRUE} linkspotterGraph(corDF = corCouples, variablesClustering = cl, corMethod = "MaxNMI", minCor = 0.25, smoothEdges = F, dynamicNodes = TRUE)
{r, echo=TRUE, eval=FALSE} linkspotterUI(dataset = iris, corDF = corCouples, variablesClustering = cl, appTitle = "Linkspotter example")
Complete Linkspotter computation:
{r, echo=TRUE} lsiris<-linkspotterComplete(iris)
Complete Linkspotter computation from an external file:
{r, echo=TRUE, eval=FALSE} lsiris<-linkspotterOnFile("iris.csv") summary(lsiris)
{r, echo=TRUE} summary(lsiris)
Then launch the user interface (linkspotter shiny app) on port 8000 for example:
{r, echo=TRUE, eval=FALSE} lsiris$launchShiny(options=list(port=8000))
Help:
{r, echo=TRUE, eval=FALSE} help(linkspotterComplete)
The variables correspond to the nodes and their links correspond to the edges. Node color depends on the clustering. Edge color depends on the correlation direction quantitative couples (blue: positive correlation, red: negative correlation).
It produces the following:
Its type depends on the nature of the corresponding link:
It displays all the measurements calculated for the link corresponding to the clicked edge. When at least one of the variables is qualitative, only the MaxNMI has a value.
It produces the following:
Its type depends on the nature of the corresponding variable:
Its type depends on the nature of the variable:
This tab displays 2 tables:
The Correlation coefficient option allows you to choose the coefficient of correlation to be considered among those calculated initially.
Linkspotter uses and combine features coming from several other R packages, namely ‘infotheo’, ‘minerva’, ‘energy’, ‘mclust’, ‘shiny’, ‘shinybusy’, ‘visNetwork’, ‘rAmCharts’ and ‘ggplot2’.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.