Science Score: 23.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 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 10 committers (10.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary

Keywords from Contributors

bioconductor-package gene genomics core-services cancer peak-detection metabolomics mass-spectrometry feature-detection synthetic-nucleosomes
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: CRUKMI-ComputationalBiology
  • Language: R
  • Default Branch: master
  • Size: 967 KB
Statistics
  • Stars: 9
  • Watchers: 3
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created almost 10 years ago · Last pushed over 5 years ago
Metadata Files
Readme

README.md

twoddpcr

twoddpcr is an R/Bioconductor package for Droplet Digital PCR (ddPCR) analysis. The package is named for its ability to classify two channel ddPCR data (the amalgamation of "2-d" and "ddPCR").

Example usage of the package with a sample dataset is included in the package's vignette, where the Appendix also explains how to extract raw droplet data from Bio-Rad's QuantaSoft.

Installing the twoddpcr package

The package can be installed from Bioconductor using:

install.packages("BiocManager") BiocManager::install("twoddpcr")

Alternatively, it can be installed from GitHub using:

library(devtools) install_github("CRUKMI-ComputationalBiology/twoddpcr")

Another alternative is to install the package from source:

install.packages("</path/to/twoddpcr/>", repos=NULL, type="source")

Loading the twoddpcr package

Once the package has been installed, it can be loaded in the usual way:

library(twoddpcr)

ddpcrPlate objects

The package revolves around the use of ddpcrPlate objects, which stores droplet amplitude data for the wells in the plate. The ddpcrPlate object also keeps track of the various classifications of the droplets.

To use your own droplet data and store it in a variable named plate, use:

plate <- ddpcrPlate("amplitudes/")

Here, we have assumed that your droplet amplitude CSVs are stored in the amplitudes directory inside the working directory.

Classifying using the k-means clustering

If your data has four distinct clusters, the k-means clustering algorithm can be used:

plate <- kmeansClassify(plate)

This method can also take the centres parameter as a matrix to adjust the approximate centres of each cluster. This parameter can also be the number of clusters instead of a matrix. See ?kmeansClassify for more details.

Plotting classifications

Once the droplets have been classified, they can be plotted using the dropletPlot method. To use this, the names of the available classification methods can be obtained by:

getCommonClassMethod(plate)

There should be a kmeans entry for k-means clustering. To plot this, use:

dropletPlot(plate, cMethod="kmeans")

Adding "rain"

Droplets between the main clusters of droplets will possibly have ambiguous classifications. These droplets are colloquially known as "rain". To do this, use:

plate <- mahalanobisRain(plate, maxDistances=list(NN=35, NP=30, PN=30, PP=30))

Some trial-and-error is required for setting the maxDistances parameter.

Summaries

Since ddPCR samples are partitioned into droplets, the molecules are assumed to be Poisson distributed. With this, the actual number of starting fragments can be estimated:

plateSummary(plate, cMethod="kmeansMahRain")

Shiny-based GUI for non-R users

A Shiny app is included in the package, which provides a GUI that allows interactive use of the package for ddPCR analysis. This can be run from an interactive R session using:

shinyVisApp()

It can also be accessed at http://shiny.cruk.manchester.ac.uk/twoddpcr/.

If you wish to run the app from your own server, instructions are given in the vignette.

Citing twoddpcr

If you use the twoddpcr package in your work, please cite the Bioinformatics paper. The citation can be obtained within R using:

citation("twoddpcr")

Owner

  • Login: CRUKMI-ComputationalBiology
  • Kind: user

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 33
  • Total Committers: 10
  • Avg Commits per committer: 3.3
  • Development Distribution Score (DDS): 0.727
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Anthony Chiu a****u@c****k 9
Nitesh Turaga n****a@g****m 8
Anthony Chiu a****y@a****e 4
Anthony Chiu a****u@b****k 2
vobencha v****a@g****m 2
Herve Pages h****s@f****g 2
vobencha v****n@r****g 2
Hervé Pagès h****s@f****g 2
Anthony Chiu s****s@g****m 1
Martin Morgan m****n@f****g 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: 7 days
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 0
  • Average comments per issue: 2.67
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • 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
  • michaelnoe (1)
  • GACGAMA (1)
  • eawoolard (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • bioconductor 14,050 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
bioconductor.org: twoddpcr

Classify 2-d Droplet Digital PCR (ddPCR) data and quantify the number of starting molecules

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 14,050 Total
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Stargazers count: 15.1%
Average: 19.4%
Forks count: 19.8%
Downloads: 62.1%
Maintainers (1)
Last synced: 11 months ago