colocr

An R package for conducting co-localization analysis. Edit

https://github.com/ropensci/colocr

Science Score: 20.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
  • Academic publication links
    Links to: researchgate.net, ncbi.nlm.nih.gov
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary

Keywords

colocalization image-analysis r r-package rstats

Keywords from Contributors

cancer-genomics datascience microrna tcga-data transcription-factors data-analyses molecular-biology qpcr
Last synced: 6 months ago · JSON representation

Repository

An R package for conducting co-localization analysis. Edit

Basic Info
Statistics
  • Stars: 25
  • Watchers: 6
  • Forks: 3
  • Open Issues: 2
  • Releases: 0
Topics
colocalization image-analysis r r-package rstats
Created over 7 years ago · Last pushed about 6 years ago
Metadata Files
Readme Contributing License

README.md

Build Status AppVeyor Build Status codecov Build Status status

colocr

An R package for conducting co-localization analysis.

Overview

A few R packages are available for conducting image analysis, which is a very wide topic. As a result, some of us might feel at a loss when all they want to do is a simple co-localization calculations on a small number of microscopy images. This package provides a simple straight forward workflow for loading images, choosing regions of interest (ROIs) and calculating co-localization statistics. Included in the package, is a shiny app that can be invoked locally to interactively select the regions of interest in a semi-automatic way. The package is based on the R package imager.

Installing colocr

colocr is available on CRAN and can be installed using

```r

install from cran

install.packages('colocr') ```

The package development version is available at github.

```r

install from github

devtools::install_github('ropensci/colocr') ```

This package depends on imager which has some external dependencies. The instructions for installing imager can be found here.

Getting started

To get started, load the required packages and the images. The images below are from DU145 cell line and were stained for two proteins; RKIP and LC3. Then, apply the appropriate parameters for choosing the regions of interest using the roi_select. Finally, check the appropriateness of the parameters by highlighting the ROIs on the image.

```r

load libraries

library(colocr)

load images

fl <- system.file('extdata', 'Image0001.jpg', package = 'colocr') img <- imageload(fl)

select ROI and show the results

par(mfrow = c(2,2), mar = rep(1, 4))

img %>% roiselect(threshold = 90) %>% roishow() ```

The same can be achieved interactively using an accompanying shiny app. To launch the app run.

r run_app()

The reset of the analysis depends on the particular kind of images. Now, colocr implements two simple co-localization statistics; Pearson's Coefficient Correlation (PCC) and the Manders Overlap Coefficient (MOC).

To apply both measures of correlation, we first get the pixel intensities and call roi_test on the merge image.

```r

calculate co-localization statistics

img %>% roiselect(threshold = 90) %>% roitest(type = 'both') ```

The same analysis and more can be conducted using a web interface for the package available here

Acknowledgement

Citation

r citation('colocr')

ropensci_footer

Owner

  • Name: rOpenSci
  • Login: ropensci
  • Kind: organization
  • Email: info@ropensci.org
  • Location: Berkeley, CA

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 59
  • Total Committers: 4
  • Avg Commits per committer: 14.75
  • Development Distribution Score (DDS): 0.373
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Mahmoud Ahmed m****d@M****l 37
MahShaaban m****y@s****g 18
Mahmoud Ahmed m****d@M****l 3
ropenscibot m****t@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 5
  • Total pull requests: 3
  • Average time to close issues: about 1 year
  • Average time to close pull requests: 2 months
  • Total issue authors: 4
  • Total pull request authors: 2
  • Average comments per issue: 1.2
  • Average comments per pull request: 2.33
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: about 2 months
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 3.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • MahShaaban (2)
  • cwilso6 (1)
  • jeroen (1)
  • apelin20 (1)
Pull Request Authors
  • MahShaaban (2)
  • maelle (1)
Top Labels
Issue Labels
help wanted (3) enhancement (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 149 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: colocr

Conduct Co-Localization Analysis of Fluorescence Microscopy Images

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 149 Last month
Rankings
Stargazers count: 10.7%
Forks count: 14.9%
Dependent packages count: 29.8%
Average: 31.7%
Dependent repos count: 35.5%
Downloads: 67.6%
Last synced: 8 months ago

Dependencies

DESCRIPTION cran
  • imager * imports
  • magick * imports
  • magrittr * imports
  • scales * imports
  • shiny * imports
  • covr * suggests
  • devtools * suggests
  • knitr * suggests
  • purrr * suggests
  • rmarkdown * suggests
  • shinyBS * suggests
  • shinytest * suggests
  • testthat * suggests
docker/Dockerfile docker
  • rocker/verse latest build