-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,24 @@ | ||
#' Deconvolute Mixed Genomes with Unknown Proportions | ||
#' | ||
#' Traditional phasing programs are limited to diploid organisms. | ||
#' Our method modifies Li and Stephens algorithm with Markov chain Monte Carlo | ||
#' (MCMC) approaches, and builds a generic framework that allows haplotype searches | ||
#' in a multiple infection setting. This package is primarily developed as part of | ||
#' the Pf3k project, which is a global collaboration using the latest | ||
#' sequencing technologies to provide a high-resolution view of natural variation | ||
#' in the malaria parasite Plasmodium falciparum. Parasite DNA are extracted from | ||
#' patient blood sample, which often contains more than one parasite strain, with | ||
#' unknown proportions. This package is used for deconvoluting mixed haplotypes, | ||
#' and reporting the mixture proportions from each sample. | ||
#' | ||
#' @author | ||
#' Zhu Sha | ||
#' | ||
#' Maintainer: Joe Zhu \email{sha.joe.zhu@gmail.com} | ||
#' | ||
#' @name DEploid-package | ||
#' @docType package | ||
#' | ||
#' @importFrom Rcpp evalCpp | ||
#' @useDynLib _DEploid_dEploid | ||
NULL |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#include <R.h> | ||
#include <Rinternals.h> | ||
#include <stdlib.h> // for NULL | ||
#include <R_ext/Rdynload.h> | ||
|
||
/* FIXME: | ||
Check these declarations against the C/Fortran source code. | ||
*/ | ||
|
||
/* .Call calls */ | ||
extern SEXP _DEploid_dEploid(SEXP); | ||
extern SEXP _DEploid_test_RRG_sample(); | ||
extern SEXP _DEploid_test_RRG_sampleExpoExpoLimit(SEXP, SEXP, SEXP); | ||
extern SEXP _DEploid_test_RRG_sampleUnitExpo(); | ||
|
||
static const R_CallMethodDef CallEntries[] = { | ||
{"_DEploid_dEploid", (DL_FUNC) &_DEploid_dEploid, 1}, | ||
{"_DEploid_test_RRG_sample", (DL_FUNC) &_DEploid_test_RRG_sample, 0}, | ||
{"_DEploid_test_RRG_sampleExpoExpoLimit", (DL_FUNC) &_DEploid_test_RRG_sampleExpoExpoLimit, 3}, | ||
{"_DEploid_test_RRG_sampleUnitExpo", (DL_FUNC) &_DEploid_test_RRG_sampleUnitExpo, 0}, | ||
{NULL, NULL, 0} | ||
}; | ||
|
||
void R_init_DEploid(DllInfo *dll) | ||
{ | ||
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); | ||
R_useDynamicSymbols(dll, FALSE); | ||
} |