Description Usage Arguments Value Seeding See Also Examples
Deconvolute mixed haplotypes, and reporting the mixture proportions from each sample
This function provieds an interface for calling dEploid from R.
The command line options are passed via the args
argument
1 |
args |
String of dEploid input. |
A list with members of haplotypes, proportions and log likelihood of the MCMC chain.
Haps
Haplotypes at the final iteration in plain text file.
Proportions
MCMC updates of the proportion estimates.
llks
Log likelihood of the MCMC chain.
The R version of DEploid uses random number from R's random generator. Therefore, the '-seed' argument of the command line version will be ignored, and no seed is given in the output. Use the R function 'set.seed' prior to calling this function to ensure reproduciblity of results.
vignette('dEploid-Arguments')
for an overview of commandline arguments
1 2 3 4 5 6 7 | ## Not run:
vcfFile = system.file("extdata", "PG0390-C.test.vcf.gz", package = "DEploid")
plafFile = system.file("extdata", "labStrains.test.PLAF.txt", package = "DEploid")
set.seed(1234)
PG0390.deconv = dEploid(paste("-vcf", vcfFile, "-plaf", plafFile, "-noPanel"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.