Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary

Keywords from Contributors

bioconductor-package bioinformatics core-package image-analysis rnaseq derfinder rhdf5 hdf5 mirror pathway-analysis
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: jasonserviss
  • Language: R
  • Default Branch: master
  • Size: 874 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 9 years ago · Last pushed over 7 years ago
Metadata Files
Readme

README.Rmd

---
output:
  github_document:
    html_preview: false
---




   

Status: Travis CI [![Build Status](https://travis-ci.org/jasonserviss/ClusterSignificance.svg?branch=master)](https://travis-ci.org/jasonserviss/ClusterSignificance)

Bioc-release  

Bioc-devel  

Codecov [![codecov](https://codecov.io/gh/jasonserviss/ClusterSignificance/branch/master/graph/badge.svg)](https://codecov.io/gh/jasonserviss/ClusterSignificance)

# ClusterSignificance

The ClusterSignificance package is written in [R](https://cran.r-project.org) and can be found hosted at the [Bioconductor](https://www.bioconductor.org) repository via the links below.

* [release](https://master.bioconductor.org/packages/release/bioc/html/ClusterSignificance.html)
* [devel](https://bioconductor.org/packages/devel/bioc/html/ClusterSignificance.html)

## Introduction
The ClusterSignificance package provides tools to assess if clusters, in
e.g. principal component analysis (PCA), have a separation different from
random or permuted data. This is accomplished in a 3 step process *projection*,
*classification*, and *permutation*. To be able to compare cluster
separations, we have to give them a score based on this separation. First, 
all data points in each cluster are projected onto a line (*projection*), after
which the seperation for two groups at a time is scored (*classification*).
Furthermore, to get a p-value for the separation we have to compare the
separation score for our real data to the separation score for permuted data 
(*permutation*).


## Installation
The release version of ClusterSignificance can be installed in R from 
[Bioconductor](https://www.bioconductor.org) as follows:

```{r, eval = FALSE}
install.packages("BiocManager") 
BiocManager::install("ClusterSignificance") 
```

To install the development version use:

```{r, eval = FALSE}
install.packages("devtools")
devtools::install_github("jasonserviss/ClusterSignificance")
```

## Quick Start

While we recommend reading the [vignette](https://bioconductor.org/packages/release/bioc/vignettes/ClusterSignificance/inst/doc/ClusterSignificance-vignette.html), the instructions that follow will allow you 
to quickly get a feel for how ClusterSignificance works and what it is capable of.

Here we utilize the example data included in the ClusterSignificance package 
for the Pcp method.

### Projection

We start by projecting the points into one dimension using the Pcp method. We are able to visualize each step in the projection by plotting the results as shown below.

```{r projection}
library(ClusterSignificance)
classes <- rownames(pcpMatrix)
prj <- pcp(pcpMatrix, classes)
plot(prj)
```



### Classification
Now that the points are in one dimension, we can score each possible seperation and deduce the max seperation score. This is accomplished by the classify command (again we can plot the results afterwards). The vertical lines in the plot represent the seperation score for each possible seperation.

```{r classifyMlp}
## Classify and plot.
cl <- classify(prj)
plot(cl)
```



### Permutation
Finally, as we have now determined the max seperation score, we can permute the data to examine how many permuted max scores exceed that of our real max score and, thus, calculate a p-value for our seperation. Plotting the permutaion results show a histogram of the permuted max scores with the red line representing the real score.

```{r permuteMlp}
## Set the seed and number of iterations.
set.seed(3)
iterations <- 100 

## Permute and plot.
pe <- permute(
	mat = pcpMatrix,
	iter = iterations,
	classes = classes,
	projmethod = "pcp"
)
plot(pe)
```



To calculate the p-value we use the following command.

```{r pValueMlp, echo=FALSE, eval=TRUE, message=FALSE}
pvalue(pe)
```

## Bug Reports and Issues

The Bioconductor support site for the ClusterSignificance package is located [here](https://support.bioconductor.org/t/ClusterSignificance/). Issues and bugs can be reported via Github at: [ClusterSignificance](https://github.com/jasonserviss/ClusterSignificance)

## Citation

Jason T. Serviss, Jesper R. Gådin, Per Eriksson, Lasse Folkersen, Dan Grandér; ClusterSignificance: a bioconductor package facilitating statistical analysis of class cluster separations in dimensionality reduced data, Bioinformatics, Volume 33, Issue 19, 1 October 2017, Pages 3126–3128, [https://doi.org/10.1093/bioinformatics/btx393](https://doi.org/10.1093/bioinformatics/btx393)

Citation information can be found in R using:

```{r, eval = FALSE}
library(ClusterSignificance)
citation("ClusterSignificance")
```


## License
[GPL-3](https://www.r-project.org/Licenses/GPL-3)

Owner

  • Name: Jason Serviss
  • Login: jasonserviss
  • Kind: user
  • Location: Stockholm, Sweden
  • Company: Karolinska Institutet

http://ki.se/en/onkpat/research-team-martin-enge

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 83
  • Total Committers: 7
  • Avg Commits per committer: 11.857
  • Development Distribution Score (DDS): 0.205
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jason T Serviss j****s@k****e 66
Dan Tenenbaum d****a@f****g 4
Herve Pages h****s@f****g 4
Robrecht Cannoodt r****d@g****m 4
Hervé Pagès h****s@f****g 2
vobencha v****n@r****g 2
Martin Morgan m****n@f****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 15 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 12.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • rcannood (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • bioconductor 15,799 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
bioconductor.org: ClusterSignificance

The ClusterSignificance package provides tools to assess if class clusters in dimensionality reduced data representations have a separation different from permuted data

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 15,799 Total
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 18.8%
Downloads: 56.4%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • RColorBrewer * imports
  • grDevices * imports
  • graphics * imports
  • methods * imports
  • pracma * imports
  • princurve >= 2.0.5 imports
  • scatterplot3d * imports
  • stats * imports
  • utils * imports
  • BiocStyle * suggests
  • covr * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • plsgenomics * suggests
  • rmarkdown * suggests
  • testthat * suggests