Learn R Programming

DEploid R package -- Deconvolute Mixed Genomes with Unknown Proportions

Traditional ‘phasing’ programs are limited to diploid organisms. Our method modifies Li and Stephen’s algorithm with Markov chain Monte Carlo (MCMC) approaches, and builds a generic framework that allows haloptype searches in a multiple infection setting.

Installation

It is recommended to use the current CRAN version. It can be installed from within R using

> install.packages('DEploid')

For the developing version, please install Rcpp package first. From the R-console, type

> install.packages("Rcpp")

(NOTE: If you are using Windows, please install Rtools from https://cran.r-project.org/bin/windows/Rtools/)

then

> install.packages("devtools")
> library(devtools)
> install_github("mcveanlab/DEploid-r")

Usage

Please refer to the help page and examples for each function. For example,

> library(DEploid)
> ?dEploid
> ?plotProportions

Licence

You can freely use all code in this project under the conditions of the GNU GPL Version 3 or later.

Citation

Citation

If you use dEploid with the flag -ibd, please cite the following paper:

Zhu, J. S., J. A. Hendry, J. Almagro-Garcia, R. D. Pearson, R. Amato, A. Miles, D. J. Weiss, T. C. D. Lucas, M. Nguyen, P. W. Gething, D. Kwiatkowski, G. McVean, and for the Pf3k Project. (2018) The origins and relatedness structure of mixed infections vary with local prevalence of P. falciparum malaria. eLife, 40845, doi: https://doi.org/10.7554/eLife.40845.

If you use dEploid in your work, please cite the program:

Zhu, J. S., J. A. Garcia, G. McVean. (2018) Deconvolution of multiple infections in Plasmodium falciparum from high throughput sequencing data. Bioinformatics 34(1), 9-15. doi: https://doi.org/10.1093/bioinformatics/btx530.

Copy Link

Version

Install

install.packages('DEploid')

Monthly Downloads

270

Version

0.5.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 14th, 2024

Functions in DEploid (0.5.4)

extractPLAF

Extract PLAF
extractCoverageFromVcf

Extract read counts from VCF
computeObsWSAF

Compute observed WSAF
dEploid

Deconvolute mixed haplotypes
extractCoverageFromTxt

Extract read counts from plain text file
DEploid-package

DEploid: Deconvolute Mixed Genomes with Unknown Proportions
histWSAF

WSAF histogram
extractVcf

Extract VCF information
plotAltVsRef

Plot coverage
haplotypePainter

Painting haplotype according the reference panel
plotObsExpWSAF

Plot WSAF
plotWSAFvsPLAF

Plot WSAF vs PLAF
plotHistWSAFPlotly

WSAF histogram
plotAltVsRefPlotly

Plot coverage
plotProportions

Plot proportions
plotWSAFVsPLAFPlotly

Plot WSAF vs PLAF
plotObsExpWSAFPlotly

Plot WSAF