Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llrs/biocor
Package to calculate functional similarity between genes https://biocor.llrs.dev
https://github.com/llrs/biocor
bioconductor-packages bioinformatics functional-similarity gene gene-sets pathway-analysis pathways similarity similarity-measurement
Last synced: 11 days ago
JSON representation
Package to calculate functional similarity between genes https://biocor.llrs.dev
- Host: GitHub
- URL: https://github.com/llrs/biocor
- Owner: llrs
- License: other
- Created: 2016-12-05T15:44:05.000Z (almost 8 years ago)
- Default Branch: devel
- Last Pushed: 2024-04-23T22:45:28.000Z (7 months ago)
- Last Synced: 2024-10-11T18:26:05.950Z (26 days ago)
- Topics: bioconductor-packages, bioinformatics, functional-similarity, gene, gene-sets, pathway-analysis, pathways, similarity, similarity-measurement
- Language: R
- Homepage: https://www.bioconductor.org/packages/BioCor/
- Size: 8.3 MB
- Stars: 14
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.Rmd
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
---
output: github_document
---```{r echo=FALSE, message=FALSE, warning=FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
library("BioCor")
```# BioCor
[![R build status](https://github.com/llrs/BioCor/workflows/R-CMD-check/badge.svg)](https://github.com/llrs/BioCor/actions)
[![codecov](https://codecov.io/gh/llrs/BioCor/branch/master/graph/badge.svg)](https://codecov.io/gh/llrs/BioCor/)
[![Build Status](https://www.bioconductor.org/shields/build/devel/bioc/BioCor.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/BioCor/)
[![Bioc](https://www.bioconductor.org/shields/years-in-bioc/BioCor.svg)](https://www.bioconductor.org/packages/devel/bioc/html/BioCor.html#since)
[![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1913/badge)](https://bestpractices.coreinfrastructure.org/projects/1913)This project wants to allow the user to calculate functional similarities (or biological correlation as it was named originally hence the name) and
use them for network building or other purposes.# Installation
It is an R package you can install it from the Bioconductor project with:
```{r eval = FALSE}
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("BioCor")
```
You can install this version of *BioCor* with:
```{r eval=FALSE}
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("llrs/BioCor")
```# How to use BioCor?
See the [vignette](https://bioconductor.org/packages/release/bioc/vignettes/BioCor/inst/doc/BioCor_1_basics.html) in Bioconductor site and the [advanced vignette](https://bioconductor.org/packages/release/bioc/vignettes/BioCor/inst/doc/BioCor_2_advanced.html).
Here is a minimum example:
```{r message=FALSE, warning=FALSE, include=FALSE}
library("reactome.db")
genesReact <- as.list(reactomeEXTID2PATHID)
# Remove genes and pathways which are not from human pathways
genesReact <- sapply(genesReact, function(x) {
unique(grep("R-HSA-", x, value = TRUE))
})
genesReact <- genesReact[lengths(genesReact) >= 1]
``````{r}
# The data must be provided, see the vignette for more details.
# Get some pathways from the pathway data
(pathways <- sample(unlist(genesReact, use.names = FALSE), 5))
# Calculate the pathway similarity of them
mpathSim(pathways, genesReact, NULL)
```# Who might use this package?
It is intended for bioinformaticians, both people interested in *knowing* the functionally *similarity of some genes* or clusters and people *developing* some other analysis at the top of it.
# What is the goal of this project?
The goal of this project is to provide methods to calculate functional similarities based on pathways.
# What can be BioCor used for?
Here is a non-comprehensive list:
- Diseases or drug:
By observing which genes with the same pathways are more affected
- Gene/protein functional analysis:
By testing how new pathways are similar to existing pathways
- Protein-protein interaction:
By testing if they are involved in the same pathways
- miRNA-mRNA interaction:
By comparing clusters they affect
- sRNA regulation:
By observing the relationship between sRNA and genes
- Evolution:
By comparing similarities of genes between species
- Networks improvement:
By adding information about the known relationship between genes
- Evaluate pathways databases:
By comparing scores of the same entitiesSee the [advanced vignette](https://bioconductor.org/packages/release/bioc/vignettes/BioCor/inst/doc/BioCor_2_advanced.html)
# Contributing
Please read [how to contribute](.github/CONTRIBUTING.md) for details on the code of conduct, and the process for submitting pull requests.
# Acknowledgments
Anyone that has contributed to make this package be as is, specially my advisor.