The goal of diceR is to provide a systematic framework for generating
diverse cluster ensembles in R. There are a lot of nuances in cluster
analysis to consider. We provide a process and a suite of functions and
tools to implement a systematic framework for cluster discovery, guiding
the user through the generation of a diverse clustering solutions from
data, ensemble formation, algorithm selection and the arrival at a final
consensus solution. We have additionally developed visual and analytical
validation tools to help with the assessment of the final result. We
implemented a wrapper function dice() that allows the user to easily
obtain results and assess them. Thus, the package is accessible to both
end user with limited statistical knowledge. Full access to the package
is available for informaticians and statisticians and the functions are
easily expanded. More details can be found in our companion paper
published at BMC
Bioinformatics.
Installation
You can install diceR from CRAN with:
install.packages("diceR")
Or get the latest development version from GitHub:
The following example shows how to use the main function of the package,
dice(). A data matrix hgsc contains a subset of gene expression
measurements of High Grade Serous Carcinoma Ovarian cancer patients from
the Cancer Genome Atlas publicly available datasets. Samples as rows,
features as columns. The function below runs the package through the
dice() function. We specify (a range of) nk clusters over reps
subsamples of the data containing 80% of the full samples. We also
specify the clustering algorithms to be used and the ensemble
functions used to aggregated them in cons.funs.
diceR
Overview
The goal of
diceRis to provide a systematic framework for generating diverse cluster ensembles in R. There are a lot of nuances in cluster analysis to consider. We provide a process and a suite of functions and tools to implement a systematic framework for cluster discovery, guiding the user through the generation of a diverse clustering solutions from data, ensemble formation, algorithm selection and the arrival at a final consensus solution. We have additionally developed visual and analytical validation tools to help with the assessment of the final result. We implemented a wrapper functiondice()that allows the user to easily obtain results and assess them. Thus, the package is accessible to both end user with limited statistical knowledge. Full access to the package is available for informaticians and statisticians and the functions are easily expanded. More details can be found in our companion paper published at BMC Bioinformatics.Installation
You can install
diceRfrom CRAN with:Or get the latest development version from GitHub:
Example
The following example shows how to use the main function of the package,
dice(). A data matrixhgsccontains a subset of gene expression measurements of High Grade Serous Carcinoma Ovarian cancer patients from the Cancer Genome Atlas publicly available datasets. Samples as rows, features as columns. The function below runs the package through thedice()function. We specify (a range of)nkclusters overrepssubsamples of the data containing 80% of the full samples. We also specify the clusteringalgorithmsto be used and the ensemble functions used to aggregated them incons.funs.The first few cluster assignments are shown below:
You can also compare the base
algorithmswith thecons.funsusing internal evaluation indices:Pipeline
This figure is a visual schematic of the pipeline that
dice()implements.Please visit the overview page for more detail.